[IMP] logging use default python logging output
bzr revid: al@openerp.com-20110907154105-0p2qf3iz1s22pvch
This commit is contained in:
parent
ffa4549555
commit
86b77c4cf3
|
@ -47,9 +47,6 @@ if __name__ == "__main__":
|
|||
|
||||
if not options.log_config:
|
||||
logging.basicConfig(level=getattr(logging, options.log_level.upper()))
|
||||
dispatch = logging.getLogger('web.common.dispatch')
|
||||
dispatch.addHandler(logging.StreamHandler(sys.stdout))
|
||||
dispatch.propagate = False
|
||||
else:
|
||||
logging.config.fileConfig(options.log_config)
|
||||
|
||||
|
|
Loading…
Reference in New Issue