Skip to content

Commit 5c7cf18

Browse files
authored
Use fog pg_probackup3 log level TRACE insted of VERBOSE and don't use -j and --batch-size keys (#138)
1 parent 8b6b813 commit 5c7cf18

File tree

1 file changed

+7
-3
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+7
-3
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/app.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -705,9 +705,13 @@ def set_archiving(
705705
if overwrite:
706706
archive_command += ' --overwrite'
707707

708-
archive_command += ' --log-level-console=VERBOSE'
709-
archive_command += ' -j 5'
710-
archive_command += ' --batch-size 10'
708+
if init_params.major_version > 2:
709+
archive_command += ' --log-level-console=trace'
710+
else:
711+
archive_command += ' --log-level-console=VERBOSE'
712+
archive_command += ' -j 5'
713+
archive_command += ' --batch-size 10'
714+
711715
archive_command += ' --no-sync'
712716

713717
if archive_timeout:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy