https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7194
Bug ID: 7194
Summary: SpamD could use a Parameter to enable the logging of
timing
Product: Spamassassin
Version: 3.4 SVN branch
Hardware: PC
OS: Windows 7
Status: NEW
Severity: normal
Priority: P2
Component: spamc/spamd
Assignee: [email protected]
Reporter: [email protected]
Mark Martinec pointed out that the requirement for timing can be requested by a
application using the SpamAssassin library but that spamd does not include the
timing report in its log.
A quick proof of concept is to edit spamd directly and chang:
dbg("timing: " . $spamtest->timer_report()) if would_log('dbg', 'timing');
to
info("timing: " . $spamtest->timer_report());# if would_log('dbg', 'timing');
And after this block my $spamtest = Mail::SpamAssassin->new(..., add this:
$spamtest->timer_enable();
Next step is to add an option for spamd which I have completed and
functionality tested now pending make test for a commit.
--
You are receiving this mail because:
You are the assignee for the bug.