Destroy Logger object. Add LogEntry module/resource.

This commit is contained in:
Daniel Nichter
2013-05-20 13:49:51 -07:00
parent 52e37e2dc2
commit 20c3bd6c29
2 changed files with 45 additions and 0 deletions

View File

@@ -5365,6 +5365,9 @@ sub main {
$logger->info("pt-agent exit $exit_status, oktorun $oktorun");
# Cause Logger::DESTORY to be called.
$logger = undef;
return $exit_status;
}