http://bugzilla.spamassassin.org/show_bug.cgi?id=4379
Summary: warns/dies appear to be hidden by new Logger code
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: major
Priority: P5
Component: Libraries
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I note this in Logger.pm:
sub log_message {
my ($level, @message) = @_;
# too many die and warn messages out there, don't log the
# ones that we don't own
if ($level eq "error" or $level eq "warn") {
return unless $message[0] =~ /^\S+:/;
}
[....]
}
sure enough, if you add a line like
warn "foo: help!"
to an eval test, it appears -- but without the "foo:" prefix, it's invisible.
I'm checking in code to turn this off; this bug should be used as a forum to
discuss this, if it's required.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.