#8 make acpid use syslog

closed
nobody
None
5
2007-05-24
2006-10-18
No

This small patch makes acpid use syslog instead of
using its own logfile writing.

With syslog-ng, these rules will give you an
almost-original /var/log/acpid:

filter f_acpid { match('^\[acpid\]:'); };
destination acpid { file("/var/log/acpid"); };
log { source(src); filter(f_acpid);
destination(acpid); flags(final); };

Discussion

  • Tim Hockin

    Tim Hockin - 2007-05-24

    Logged In: YES
    user_id=365227
    Originator: NO

    something very similar is now in CVS.

     
  • Tim Hockin

    Tim Hockin - 2007-05-24
    • status: open --> closed
     

Log in to post a comment.