I get this error when i call logger.info(...):
File "sh_cpl/src/cpl_core/logging/logger_service.py", line 36, in init
self._log = Template(self._log_settings.filename).substitute(
AttributeError: 'NoneType' object has no attribute 'filename'
I didn't configure logging.
I would expect detailed exceptions.
I get this error when i call logger.info(...):
File "sh_cpl/src/cpl_core/logging/logger_service.py", line 36, in __init__
self._log = Template(self._log_settings.filename).substitute(
AttributeError: 'NoneType' object has no attribute 'filename'
I didn't configure logging.
I would expect detailed exceptions.
edraft
added the bug label 2022-07-16 12:42:19 +02:00
edraft
changed title from Logging exception when no config exists to 2022.10.6 - Logging exception when no config exists2022-09-10 09:17:35 +02:00
edraft
added this to the 2022.10 milestone 2022-09-10 09:17:37 +02:00
edraft
added this to the 2022.10 project 2022-09-10 09:17:38 +02:00
edraft
self-assigned this 2022-09-10 09:17:40 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I get this error when i call logger.info(...):
File "sh_cpl/src/cpl_core/logging/logger_service.py", line 36, in init
self._log = Template(self._log_settings.filename).substitute(
AttributeError: 'NoneType' object has no attribute 'filename'
I didn't configure logging.
I would expect detailed exceptions.
Logging exception when no config existsto 2022.10.6 - Logging exception when no config exists