Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r16212: Make send-email worker less noisy (make ...

Committer: gariev
Make send-email worker less noisy (make it respect --verbose command-line option)
U   trunk/bin/worker/send-email
Modified: trunk/bin/worker/send-email
===================================================================
--- trunk/bin/worker/send-email	2010-02-05 09:18:05 UTC (rev 16211)
+++ trunk/bin/worker/send-email	2010-02-05 10:09:52 UTC (rev 16212)
@@ -22,6 +22,7 @@
 
 sub schwartz_verbose_handler {
     return sub {
+        return unless __PACKAGE__->verbose;
         my ($msg, $job) = @_;
         $msg =~ s/\s+$//;
         warn "$msg\n";

Tags: gariev, livejournal
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments