Add missing log_file parameter in test config file
darcs-hash:20071204071226-86b55-7641b17e04288678b5dc8eb5b271680e69c87fa3.gz
This commit is contained in:
@@ -155,10 +155,8 @@ class JCLRunner(object):
|
||||
self.__apply_configfile(commandline_args, cleanopts)
|
||||
self.__apply_commandline_args(commandline_args, cleanopts)
|
||||
if self.log_stdout:
|
||||
print "Logging to stdout"
|
||||
self.logger.addHandler(logging.StreamHandler())
|
||||
if self.log_file is not None:
|
||||
print "Logging to file " + self.log_file
|
||||
self.logger.addHandler(logging.FileHandler(self.log_file))
|
||||
|
||||
def _get_help(self):
|
||||
|
||||
@@ -17,5 +17,5 @@ db_url: %(type)s://%(host)s%(name)s
|
||||
|
||||
[component]
|
||||
pid_file: /var/run/jabber/test_jcl.pid
|
||||
|
||||
log_file: /tmp/jcl.log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user