You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/09/29 11:44:06 UTC

[Bug 3845] New: spamd is unable to log to stderr w/out timestamps

http://bugzilla.spamassassin.org/show_bug.cgi?id=3845

           Summary: spamd is unable to log to stderr w/out timestamps
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: spamc/spamd
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: tkooda-spamassassin-bugzilla@devsec.org


When using something like multilog [1] for logging, it is undesirable to have
spamd add timestamps before every line.

I couldn't find a way to disable the timestamps when logging to the 'stderr'
facility (--syslog-facility=stderr), so I wrote a trivial patch [2] to provide a
new 'multilog' facility (--syslog-facility=multilog).

The 'multilog' facility works just like the 'stderr' logging facility, except
the output lines look more like this:

  spamd[11903]: server started on port 783/tcp (running version 3.0.0)

Can anyone think of a better way to accomplish this?  (have spamd log to stderr
w/out timestamps)

[1] http://cr.yp.to/daemontools/multilog.html
[2]
http://devsec.org/patch/spamassassin/test/spamassassin-r47476.multilog-logging.tk-1.patch



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.