mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 22:19:44 +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(
|
$logger = Percona::Agent::Logger->new(
|
||||||
exit_status => \$exit_status,
|
exit_status => \$exit_status,
|
||||||
pid => $PID,
|
pid => $PID,
|
||||||
online_logging => $o->get('log-api'),
|
online_logging => $o->get('log-api') ? 1 : 0,
|
||||||
);
|
);
|
||||||
|
|
||||||
# ########################################################################
|
# ########################################################################
|
||||||
|
Reference in New Issue
Block a user