logging.debug("Testing debug logger. One two one two.")
else:
logger.setLevel(logging.INFO)
error_keys={
"config_settings_import_error":"The configuration submodule could not be imported properly. This is usually because the default config or settings files are badly broken somehow. See further errors for details",
"default_config_empty":"The default configuration file is empty, and could not be automatically populated.",
"default_settings_empty":"The default settings file is empty, and could not be automatically populated.",
"default_config_error":f"The default configuration file could not be parsed. To fix, consider backing up and deleting your configuration files from {CONFIG_PATHS} to reset the configuration.",
"default_settings_error":f"The default settings file could not be parsed. To fix, consider backing up and deleting your configuration files from {SETTINGS_PATHS} to reset the configuration.",
"capture_rebuild_timeout":f"Capture database rebuilding took a long time. This may not cause catastrophic errors, but rather will cause the server to hang for a while. To fix, consider moving your captures from {DATA_PATHS} to another location.",
"picamera_import_error":"Picamera module could not be imported. Check physical connections to the camera as it may be damaged.",