diff options
| author | fukachan <fukachan> | 2004-12-15 13:51:31 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2004-12-15 13:51:31 +0000 |
| commit | 7eb62827c9b73077caa7f22d003ae191bfbc28d3 (patch) | |
| tree | 716687607f111b33a04bb2d7d974a5bdcc2ba539 /fml/lib/FML/Process/QueueManager.pm | |
| parent | 68bb0bf319181b31d95bbeaf132839716ddd2cec (diff) | |
| download | fml8-7eb62827c9b73077caa7f22d003ae191bfbc28d3.tar.gz fml8-7eb62827c9b73077caa7f22d003ae191bfbc28d3.tar.bz2 fml8-7eb62827c9b73077caa7f22d003ae191bfbc28d3.zip | |
log delay time in success of delivery.
Diffstat (limited to 'fml/lib/FML/Process/QueueManager.pm')
| -rw-r--r-- | fml/lib/FML/Process/QueueManager.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fml/lib/FML/Process/QueueManager.pm b/fml/lib/FML/Process/QueueManager.pm index 8632d962..fcee910d 100644 --- a/fml/lib/FML/Process/QueueManager.pm +++ b/fml/lib/FML/Process/QueueManager.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: QueueManager.pm,v 1.30 2004/09/04 03:14:17 fukachan Exp $ +# $FML: QueueManager.pm,v 1.31 2004/12/05 16:19:11 fukachan Exp $ # package FML::Process::QueueManager; @@ -190,7 +190,9 @@ sub _send }); if ($r) { - $curproc->logdebug("qmgr: qid=$qid status=sent"); + my $delay = '?'; + if ($qid =~ /^(\d+)\./) { $delay = time - $1;} + $curproc->log("qmgr: qid=$qid status=sent delay=$delay"); } else { $curproc->logerror("qmgr: qid=$qid status=fail"); |
