Fix logging

This commit is contained in:
ahmadbilalkhalid 2019-12-24 15:27:21 +05:00
commit f79097cae9
2 changed files with 1 additions and 16 deletions

View file

@ -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)