You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
/opt/pgpro/std-15/bin/pg_probackup archive-push -B /var/lib/postgresql/15/backup --instance NBS_DBA --wal-file-path=%p --wal-file-name=%f --overwrite --log-format-console=json --log-format-file=json'
puts log into <postgres_name_log>.log
but postgesql logging into log with extention json
How to put archive-push command log into json postgres log?
Thanks
The text was updated successfully, but these errors were encountered:
Hi, archive-push doesn't support logging in json format.
With parameters
logging_collector = 'on'
log_destination = 'jsonlog'
it creates 2 files .json with Postgresql logs and .log. Archive-push command will continue write to file .log.
Is it ok for you, or you need them in json format too? If yes, could you, please, describe the reason.
Hi!
/opt/pgpro/std-15/bin/pg_probackup archive-push -B /var/lib/postgresql/15/backup --instance NBS_DBA --wal-file-path=%p --wal-file-name=%f --overwrite --log-format-console=json --log-format-file=json'
puts log into <postgres_name_log>.log
but postgesql logging into log with extention json
How to put archive-push command log into json postgres log?
Thanks
The text was updated successfully, but these errors were encountered: