config class

redfish.config.initialize_logger(REDFISH_LOGFILE, CONSOLE_LOGGER_LEVEL, FILE_LOGGER_LEVEL, logger_name=None)[source]

Initialize a global logger to track application behaviour

Parameters:
  • redfish_logfile (str) – Log filename
  • screen_logger_level (logging constant or string) – Console log level (logging.DEBUG, logging.ERROR, ..) or nolog
  • file_logger_level (logging constant) – File log level
Returns:

logging object