[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-devel
Subject:    [Bug 6231] New: Care for adding timestamps when logging to stderr?
From:       bugzilla-daemon () issues ! apache ! org
Date:       2009-10-30 16:57:05
Message-ID: bug-6231-26 () https ! issues ! apache ! org/SpamAssassin/
[Download RAW message or body]

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@spamassassin.apache.org
        ReportedBy: Mark.Martinec@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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic