Package gavo :: Package protocols :: Module gavolog
[frames] | no frames]

Module gavolog

source code

Helper code for logging to files.

All logs that could be used both interactively and from the web server but have group ownership gavo and mode (at least) 664. Only then can both parties write logs.

The RotatingFileHandler in this module tries to ensure this.

Classes
  RotatingFileHandler
logging.handler.RotatingFile with forced group support.
Variables
  GAVO_GROUP_ID = 1002
  __package__ = 'gavo.protocols'