def ServerLoggingStartupInit():
 global LOGGER
 try:
  from grr.lib.local import log as 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()
 except ImportError:
  LogInit()
  LOGGER = AppLogInit()

def ServerLoggingStartupInit ( ) : global LOGGER try : from grr . lib . local import log as 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 ( ) except ImportError : LogInit ( ) LOGGER = AppLogInit ( )
initialize the server logging configuration .