« Previous | Next » 

Revision 3b316acb

ID3b316acbe7e9c6c4ffbbf8e1289190ebfdac6014
Parent fbe5b278
Child 2cb687ad

Added by Iustin Pop about 14 years ago

Add custom logging setup for daemons

It's better for daemons if:
- they log only to one log file
- the log level is included
- for debug runs, the filename/line number is included

This patch moves the custom formatter from the watcher to the logging
module and generalizes it; then it changes the master daemon to use this
function instead of the generic logging (which might be deprecated
anyway in the future).

Reviewed-by: imsnah

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences