Don't use default logging handlers with aiologger

This commit is contained in:
Ben 2019-03-19 02:43:00 +00:00
parent 61f96e09c3
commit dda702ca54

View File

@ -81,7 +81,7 @@ class HoudiniFactory:
os.mkdir(errors_log_directory) os.mkdir(errors_log_directory)
if sys.platform != 'win32': if sys.platform != 'win32':
self.logger = Logger.with_default_handlers(name='Houdini') self.logger = Logger(name='Houdini')
universal_handler = AsyncTimedRotatingFileHandler( universal_handler = AsyncTimedRotatingFileHandler(
filename=self.server_config['Logging']['General'], filename=self.server_config['Logging']['General'],
backup_count=3, backup_count=3,