fix poseidon_logger config
@@ -50,6 +50,7 @@ class Logger:
logger.addHandler(ch)
poseidon_logger = logging.getLogger(__name__)
+ poseidon_logger.basicConfig(filename='/var/log/poseidon.log')
poseidon_logger.setLevel(logging.INFO)
poseidon_logger.propagate = False
@@ -87,7 +88,5 @@ class Logger:
"""
if config:
logging.config.dictConfigClass(config)
- poseidon_logging.config.dictConfigClass(config)
else:
logging.basicConfig()
- poseidon_logging.basicConfig(filename='/var/log/poseidon.log')
