New answers tagged

0

If you want to suppress the "STATEMENT" information, then you could set log_min_error_statement = fatal (or panic). If you want to keep the STATEMENT information but compress it into a single line with the main entry, then you could set log_destination = 'csvlog'. Technically it will still be multiple lines, but the internal newlines will be escaped by ...


0

Controlling the log_min_error_statement will prevent the statements being logged in the log_destination file. Essentially, you are logging all messages of FATAL and PANIC levels when this parameter is set to 'FATAL'. Here is the excerpt from Postgresql Documentation https://www.postgresql.org/docs/9.5/static/runtime-config-logging.html ...



Top 50 recent answers are included