Permalink
Browse files

tweaked Hypnotoad log messages some more

  • Loading branch information...
1 parent 73b6cdc commit 909c44273f447c013ae1f3e398c2c3b8b866a0f5 @kraih committed Feb 25, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/Mojo/Server/Hypnotoad.pm
@@ -308,9 +308,8 @@ sub _reap {
# Clean up worker
else {
- my $w = delete $self->{workers}->{$pid};
- $self->{log}->info("Worker $pid died unexpectedly, restarting.")
- unless $w->{graceful} || $w->{force} || $self->{finished};
+ $self->{log}->debug("Worker $pid stopped.");
+ delete $self->{workers}->{$pid};
}
}

0 comments on commit 909c442

Please sign in to comment.