You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/06/02 04:02:18 UTC

[Bug 4379] New: warns/dies appear to be hidden by new Logger code

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: dev@spamassassin.apache.org
        ReportedBy: jm@jmason.org


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.

[Bug 4379] warns/dies appear to be hidden by new Logger code

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4379


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From jm@jmason.org  2005-06-07 20:40 -------
hmm, I was assuming there'd be more controversy seeing as the change was in
there in the first place ;)   closing this bug.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4379] warns/dies appear to be hidden by new Logger code

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4379


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.1.0




------- Additional Comments From jm@jmason.org  2005-06-01 19:03 -------
r179485.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.