[IMP] remove redundant empty string in fetching of root 'logging' logger

bzr revid: xmo@openerp.com-20111025110905-6yqz2gyppb574xod
This commit is contained in:
Xavier Morel 2011-10-25 13:09:05 +02:00
parent 6e7b5de861
commit 0132b2ebd0
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ if __name__ == "__main__":
with open(options.log_config) as file:
dct = json.load(file)
logging.config.dictConfig(dct)
logging.getLogger("").setLevel(getattr(logging, options.log_level.upper()))
logging.getLogger().setLevel(getattr(logging, options.log_level.upper()))
else:
logging.basicConfig(level=getattr(logging, options.log_level.upper()))