print call errors to stderr
This commit is contained in:
parent
65b9913fef
commit
5b33e4047e
2 changed files with 10 additions and 9 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue