You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-20 23:59:28 +02:00
Fixed an issue where warnings were being emitted in place of lower priority log messages during backup from standby initialization.
This commit is contained in:
@ -34,6 +34,9 @@ sub run
|
||||
$self->testResult(sub {&log(ERROR, "my test log", 27)}, "[object]", 'log error as warning',
|
||||
{strLogExpect => "WARN: [027]: my test log"});
|
||||
|
||||
$self->testResult(sub {&log(INFO, "my test log")}, "my test log", 'log info as info',
|
||||
{strLogLevel => INFO, strLogExpect => "INFO: my test log"});
|
||||
|
||||
logWarnOnErrorDisable();
|
||||
$self->testResult(sub {&log(ERROR, "my test log", 27)}, "[object]", 'log error',
|
||||
{strLogExpect => "ERROR: [027]: my test log"});
|
||||
|
Reference in New Issue
Block a user