From 36c21002b4391b3dd5d305e04fcb4a63d3580461 Mon Sep 17 00:00:00 2001 From: David Rousselie Date: Tue, 4 Dec 2007 08:12:26 +0100 Subject: [PATCH] Add missing log_file parameter in test config file darcs-hash:20071204071226-86b55-7641b17e04288678b5dc8eb5b271680e69c87fa3.gz --- src/jcl/runner.py | 2 -- src/jcl/tests/jcl.conf | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/jcl/runner.py b/src/jcl/runner.py index 11aaa2c..0653574 100644 --- a/src/jcl/runner.py +++ b/src/jcl/runner.py @@ -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): diff --git a/src/jcl/tests/jcl.conf b/src/jcl/tests/jcl.conf index ed1d5dd..5b49ad8 100644 --- a/src/jcl/tests/jcl.conf +++ b/src/jcl/tests/jcl.conf @@ -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