X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FObject%2FRemote%2FWatchDog.pm;h=3d47ac485d3cecd97903421c80c8675a3df718d2;hb=466ee2c442ee6958e077a02c3c250245f06ad819;hp=170b2b2151447993d9da08a15c64bc7a6341ce45;hpb=f129bfaf05b1ae0e2e2992cad47a70482dec9885;p=scpubgit%2FObject-Remote.git diff --git a/lib/Object/Remote/WatchDog.pm b/lib/Object/Remote/WatchDog.pm index 170b2b2..3d47ac4 100644 --- a/lib/Object/Remote/WatchDog.pm +++ b/lib/Object/Remote/WatchDog.pm @@ -38,7 +38,7 @@ sub reset { die "Attempt to reset the watchdog before it was constructed" unless defined $WATCHDOG; - log_trace { "Watchdog has been reset" }; + log_debug { "Watchdog has been reset" }; alarm($WATCHDOG->timeout); } @@ -48,6 +48,7 @@ sub reset { #it makes sense to still terminate the process sub shutdown { my ($self) = @_; + log_debug { "Watchdog is shutting down" }; alarm(0); }