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