[Greylist-users] [PATCH] Print local time in verbose output
Blair Zajac
blair at orcaware.com
Tue Jul 15 13:54:32 PDT 2003
To watch the behavior of relaydelay.pl with verbose output, this one
line patch is handy to show the time when a message was processed.
Index: relaydelay.pl
===================================================================
RCS file: /cvsroot/greylisting/sendmail-perl-milter/relaydelay/relaydelay.pl,v
retrieving revision 1.21
diff -u -r1.21 relaydelay.pl
--- relaydelay.pl 15 Jul 2003 06:18:00 -0000 1.21
+++ relaydelay.pl 15 Jul 2003 19:53:07 -0000
@@ -543,7 +543,7 @@
# Not used (since I don't want to depend on it)
#my $hostname = hostname();
- print "\n" if ($verbose);
+ print "\n", scalar(localtime), "\n" if ($verbose);
# declare our info vars
my $rowid;
Best,
Blair
--
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
More information about the Greylist-users
mailing list