From: Marius Gavrilescu Date: Thu, 27 Mar 2014 16:03:23 +0000 (+0200) Subject: Add trace to purges X-Git-Tag: 5999.000_003~21 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=5672831c0bc783d2b701ead227bcef0f20f1a525;p=gruntmaster-daemon.git Add trace to purges --- diff --git a/lib/Gruntmaster/Daemon.pm b/lib/Gruntmaster/Daemon.pm index d97305b..7b41f8c 100644 --- a/lib/Gruntmaster/Daemon.pm +++ b/lib/Gruntmaster/Daemon.pm @@ -44,6 +44,7 @@ sub safe_can { } sub purge { + get_logger->trace("Purging $_[0]"); for my $host (@purge_hosts) { my $req = HTTP::Request->new(PURGE => "http://$host$_[0]"); $ua->request($req)