def configure(self, options, conf):
self.conf = conf<EOL>if not options.logcapture or conf.loggingConfig:<EOL><INDENT>self.enabled = False<EOL><DEDENT>self.logformat = options.logcapture_format<EOL>self.logdatefmt = options.logcapture_datefmt<EOL>self.clear = options.logcapture_clear<EOL>self.loglevel = options.logcapture_level<EOL>if options.logcapture_filters:<EOL><INDENT>self.filters = options.logcapture_filters.split('<STR_LIT:U+002C>')<EOL><DEDENT>
Configure plugin.