summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Error.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-12-05 16:19:04 +0000
committerfukachan <fukachan>2004-12-05 16:19:04 +0000
commit90766f6d10ace4f05e689dd32363ef84a6366854 (patch)
tree177d4aef3cac4d322b547f920b9f169f7d4f3f04 /fml/lib/FML/Process/Error.pm
parent968cb03a8eacc447e78f01b0c12ce4eaeea53d4b (diff)
downloadfml8-90766f6d10ace4f05e689dd32363ef84a6366854.tar.gz
fml8-90766f6d10ace4f05e689dd32363ef84a6366854.tar.bz2
fml8-90766f6d10ace4f05e689dd32363ef84a6366854.zip
define logdebug() to disable log messages.
modified to use proper log$role(). bug fix log messages if needed.
Diffstat (limited to 'fml/lib/FML/Process/Error.pm')
-rw-r--r--fml/lib/FML/Process/Error.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/Error.pm b/fml/lib/FML/Process/Error.pm
index 63ffc476..cedf962e 100644
--- a/fml/lib/FML/Process/Error.pm
+++ b/fml/lib/FML/Process/Error.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2002,2003,2004 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Error.pm,v 1.45 2004/05/22 06:36:44 fukachan Exp $
+# $FML: Error.pm,v 1.46 2004/07/23 13:00:57 fukachan Exp $
#
package FML::Process::Error;
@@ -214,7 +214,7 @@ sub _clean_up_bouncers
my $channel = 'error_mail_analyzer';
if ($curproc->is_event_timeout($channel)) {
- $curproc->log("(debug) event timeout");
+ $curproc->logdebug("event timeout");
eval q{
use FML::Error;
@@ -228,7 +228,7 @@ sub _clean_up_bouncers
$curproc->set_event_timeout($channel, time + 3600);
}
else {
- $curproc->log("(debug) event not timeout");
+ $curproc->logdebug("event not timeout");
}
}
@@ -283,7 +283,7 @@ sub finish
$curproc->log("error message found");
}
else {
- $curproc->log("error message not found");
+ $curproc->logwarn("error message not found");
}
$curproc->inform_reply_messages();