|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
[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@... ReportedBy: Mark.Martinec@... 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. |
|
|
[Bug 6231] Care for adding timestamps when logging to stderr?https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6231
Mark Martinec <Mark.Martinec@...> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|Undefined |3.3.0 -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
|
|
[Bug 6231] Care for adding timestamps when logging to stderr?https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6231
Justin Mason <jm@...> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jm@... --- Comment #1 from Justin Mason <jm@...> 2009-10-30 14:31:30 UTC --- actually, I'm fine with this. It's a big change, but useful, and an x.0 release is the right time to do it. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
|
|
[Bug 6231] Care for adding timestamps when logging to stderr?https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6231
--- Comment #2 from Mark Martinec <Mark.Martinec@...> 2009-10-30 17:15:02 UTC --- Bug 6231: add timestamps when logging on stderr Sending lib/Mail/SpamAssassin/Logger/Stderr.pm Committed revision 831492. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
|
|
[Bug 6231] Care for adding timestamps when logging to stderr?https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6231
Mark Martinec <Mark.Martinec@...> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Mark Martinec <Mark.Martinec@...> 2009-10-30 17:37:30 UTC --- Closing. Please re-open if somebody does not like the idea. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
|
|
[Bug 6231] Care for adding timestamps when logging to stderr?https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6231
Adam Katz <antispam@...> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |antispam@... --- Comment #4 from Adam Katz <antispam@...> 2009-10-31 14:42:21 UTC --- FYI, there was enough demand on IRC that I wrote a workaround solution for this. Perhaps helpful for anybody on a pre-3.3.0 version or even with another program altogether (since it actually has nothing to do with SpamAssassin ... I use it regularly with ping for example). http://khopesh.com/Anti-spam#SA_utility_scripts timed-debug (previously called sa-timed-debug) will print the date to the console as you debug something live. Examples: # run SpamAssassin with debug, printing the time every third of a second timed-debug -0.33 spamassassin -D # run ping with the time and host name every 15 seconds (better wrapping on 80-col) timed-debug -15 ping -n google.com I run these in aliases so i can just say "pin google.com" or "sa-timed-debug <msg.eml" ... see the --help output. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
|
|
[Bug 6231] Care for adding timestamps when logging to stderr?https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6231
--- Comment #5 from Mark Martinec <Mark.Martinec@...> 2009-10-31 16:42:56 UTC --- > FYI, there was enough demand on IRC that I wrote a workaround solution for > this. Perhaps helpful for anybody on a pre-3.3.0 version or even with another > program altogether (since it actually has nothing to do with SpamAssassin ... For completeness, here was mine, published on the SA user list: http://marc.info/?l=spamassassin-users&m=123819766930870 -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
| Free embeddable forum powered by Nabble | Forum Help |