Skip to content

Use fog pg_probackup3 log level TRACE insted of VERBOSE and don't use… #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use fog pg_probackup3 log level TRACE insted of VERBOSE and don't use…
… -j and --batch-size keys
  • Loading branch information
egarbuz committed Jul 12, 2024
commit 4940b5de5f85a2e8ae549451e6a0ce6afae6e1b2
10 changes: 7 additions & 3 deletions testgres/plugins/pg_probackup2/pg_probackup2/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,9 +705,13 @@ def set_archiving(
if overwrite:
archive_command += ' --overwrite'

archive_command += ' --log-level-console=VERBOSE'
archive_command += ' -j 5'
archive_command += ' --batch-size 10'
if init_params.major_version > 2:
archive_command += ' --log-level-console=trace'
else:
archive_command += ' --log-level-console=VERBOSE'
archive_command += ' -j 5'
archive_command += ' --batch-size 10'

archive_command += ' --no-sync'

if archive_timeout:
Expand Down