mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-29 09:32:47 +00:00
Destroy Logger object. Add LogEntry module/resource.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user