Ticket #7 (new enhancement)

Opened 3 years ago

Last modified 3 years ago

Enhanced logging support

Reported by: chris Owned by:
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

Enhance Eddie's logging capabilities using the Python logging module.

http://docs.python.org/lib/module-logging.html

The configuration should allow logging to a file, syslog or stdout/console.

Change History

Changed 3 years ago by mtaylor

  • owner set to mtaylor
  • status changed from new to assigned

Emailed patch to lib/common/action.py for generic log interface to Chris this afternoon. Does not use the python logging module, though. Support logging to a file (appending), logging to console, and logging via syslog.

Waiting to hear back comments...

Changed 3 years ago by chris

Hi Mark, your patch is fine, please go ahead and commit it.

However, this ticket actually refers to overhauling Eddie's core logging mechanism(*), not just for an action. So we'll leave this ticket alive for now.

(*) ie: the logging caused by LOGFILE and LOGLEVEL config directives, and currently implemented very simple in lib/common/log.py

Changed 3 years ago by mtaylor

  • owner mtaylor deleted
  • status changed from assigned to new
Note: See TracTickets for help on using tickets.