def ServerLoggingStartupInit ( ) : global LOGGER if local_log : logging . debug ( "Using local LogInit from %s" , local_log ) local_log . LogInit ( ) logging . debug ( "Using local AppLogInit from %s" , local_log ) LOGGER = local_log . AppLogInit ( ) else : LogInit ( ) LOGGER = AppLogInit ( )
initialize logger on start up python
Initialize the server logging configuration .
def ServerLoggingStartupInit():
  """Initialize the server logging configuration."""
  global LOGGER
  if local_log:
    logging.debug("Using local LogInit from %s", local_log)
    local_log.LogInit()
    logging.debug("Using local AppLogInit from %s", local_log)
    LOGGER = local_log.AppLogInit()
  else:
    LogInit()
    LOGGER = AppLogInit()