1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Reduce log level for all expect tests to detail.

The C code is designed to be efficient rather than deterministic at the debug log level.  As we move more testing from integration to unit tests it makes less sense to try and maintain the expect logs at this log level.

Most of the expect logs have already been moved to detail level but mock/all still had tests at debug level.  Change the logging defaults in the config file and remove as many references to log-level-console as possible.
This commit is contained in:
David Steele
2019-05-22 18:23:44 -04:00
parent e4cc008b98
commit 86482c7db9
17 changed files with 399 additions and 2294 deletions
+9 -9
View File
@@ -2,7 +2,7 @@ run 002 - bkp 0, sby 1, dst db-master, cmp 0, s3 0, enc 0
=========================================================
stanza-create db - main create stanza info files (db-master host)
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db --log-level-console=detail stanza-create
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db stanza-create
------------------------------------------------------------------------------------------------------------------------------------
full backup - update during backup (db-master host)
@@ -31,7 +31,7 @@ compress=n
compress-level=3
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
log-level-console=debug
log-level-console=detail
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/db-master/log
@@ -57,7 +57,7 @@ compress=n
compress-level=3
db-timeout=45
lock-path=[TEST_PATH]/db-standby/lock
log-level-console=debug
log-level-console=detail
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/db-standby/log
@@ -111,7 +111,7 @@ compress=n
compress-level=3
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
log-level-console=debug
log-level-console=detail
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/db-master/log
@@ -139,7 +139,7 @@ compress=n
compress-level=3
db-timeout=45
lock-path=[TEST_PATH]/db-standby/lock
log-level-console=debug
log-level-console=detail
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/db-standby/log
@@ -153,11 +153,11 @@ repo1-host-user=[USER-1]
spool-path=[TEST_PATH]/db-standby/spool
check db - confirm standby manifest->build executed (db-standby host)
> [CONTAINER-EXEC] db-standby [BACKREST-BIN] --config=[TEST_PATH]/db-standby/pgbackrest.conf --log-level-console=detail --archive-timeout=5 --stanza=db check
> [CONTAINER-EXEC] db-standby [BACKREST-BIN] --config=[TEST_PATH]/db-standby/pgbackrest.conf --archive-timeout=5 --stanza=db check
------------------------------------------------------------------------------------------------------------------------------------
check db - verify check command on standby (db-standby host)
> [CONTAINER-EXEC] db-standby [BACKREST-BIN] --config=[TEST_PATH]/db-standby/pgbackrest.conf --log-level-console=detail --stanza=db check
> [CONTAINER-EXEC] db-standby [BACKREST-BIN] --config=[TEST_PATH]/db-standby/pgbackrest.conf --stanza=db check
------------------------------------------------------------------------------------------------------------------------------------
incr backup - update during backup (db-master host)
@@ -187,7 +187,7 @@ compress=n
compress-level=3
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
log-level-console=debug
log-level-console=detail
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/db-master/log
@@ -215,7 +215,7 @@ compress=n
compress-level=3
db-timeout=45
lock-path=[TEST_PATH]/db-standby/lock
log-level-console=debug
log-level-console=detail
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/db-standby/log