print call errors to stderr

This commit is contained in:
Romain Bignon 2010-11-15 23:21:28 +01:00
commit 5b33e4047e
2 changed files with 10 additions and 9 deletions

View file

@ -325,13 +325,6 @@ class BaseApplication(object):
handler.setLevel(level)
logging.root.addHandler(handler)
#log_format = '%(asctime)s:%(levelname)s:%(name)s:%(filename)s:%(lineno)d:%(funcName)s %(message)s'
#if self.options.logging_file:
# print self.options.logging_file
# logging.basicConfig(filename=self.options.logging_file, level=level, format=log_format)
#else:
# logging.basicConfig(stream=sys.stdout, level=level, format=log_format)
self._handle_options()
self.handle_application_options()