mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 14:18:32 +00:00
Fix online_logging argument because --log-api returns 'yes' but --no-log-api returns 0.
This commit is contained in:
@@ -5282,7 +5282,7 @@ sub main {
|
||||
$logger = Percona::Agent::Logger->new(
|
||||
exit_status => \$exit_status,
|
||||
pid => $PID,
|
||||
online_logging => $o->get('log-api'),
|
||||
online_logging => $o->get('log-api') ? 1 : 0,
|
||||
);
|
||||
|
||||
# ########################################################################
|
||||
|
Reference in New Issue
Block a user