Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: devel

[Bug 6231] New: Care for adding timestamps when logging to stderr?

 

 

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at bugzilla

Oct 30, 2009, 9:57 AM

Post #1 of 1 (75 views)
Permalink
[Bug 6231] New: Care for adding timestamps when logging to stderr?

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6231

Summary: Care for adding timestamps when logging to stderr?
Product: Spamassassin
Version: 3.3.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Libraries
AssignedTo: dev[at]spamassassin.apache.org
ReportedBy: Mark.Martinec[at]ijs.si


Created an attachment (id=4563)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4563)
suggested patch

When troubleshooting timing issues it comes handy if the logged debug messages
carry timestamps when logging goes to stderr, such as with 'spamassassin -D':

Oct 30 17:44:52.579 [40776] dbg: pyzor: opening pipe:
/usr/local/bin/pyzor --homedir /var/amavis/home/.pyzor check ...
Oct 30 17:44:52.586 [40791] dbg: util: setuid: ruid=110 euid=110
Oct 30 17:44:52.663 [40776] dbg: pyzor: [40791] finished successfully
Oct 30 17:44:52.663 [40776] dbg: pyzor: got response: public.pyzor.org:24441...

Attached is a suggested patch to Logger/Stderr.pm.

Yes? No? Too intrusive? Needs yet another configuration option???

--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.