Fix logging
This commit is contained in:
parent
972bb5a920
commit
f79097cae9
2 changed files with 1 additions and 16 deletions
|
|
@ -47,7 +47,7 @@ if __name__ == '__main__':
|
|||
arg_parser.print_help()
|
||||
else:
|
||||
# Setting up root logger
|
||||
logger = logging.getLogger(__name__)
|
||||
logger = logging.getLogger('ucloud')
|
||||
|
||||
syslog_handler = SysLogHandler(address='/dev/log')
|
||||
syslog_handler.setLevel(logging.DEBUG)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue