sub unwatch_time {
my ($self, $id) = @_;
- log_debug { "Removing timer with id of '$id'" };
+ log_trace { "Removing timer with id of '$id'" };
@$_ = grep !($_ eq $id), @$_ for $self->_timers;
return;
}
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);
}
#it makes sense to still terminate the process
sub shutdown {
my ($self) = @_;
+ log_debug { "Watchdog is shutting down" };
alarm(0);
}