prologin.log module

prologin.log.setup_logging(program, verbose=True, local=True)

Sets up the default Python logger.

Always log to syslog, optionally log to stdout.

Parameters
  • program – Name of the program that is logging stuff.

  • verbose – If true, log more messages (DEBUG instead of INFO).

  • local – If true, log to stderr as well as syslog.