0

I tried to enable full debug mode using this Tutorial

But in PostgreSQL 15.2 configuration file location is changed. Do you know how I can enable full debug mode?

1

1 Answer 1

2

Use the ALTER SYSTEM statements:

ALTER SYSTEM SET log_statement = 'all';

Depending on what you change, you have to use pg_reload_conf() to just reload the configuration or you must stop&start the database cluster.

Sign up to request clarification or add additional context in comments.

2 Comments

What is the default value? Maybe ALTER SYSTEM SET log_statement = 'info';?
The default is ERROR, which means statements causing errors, log messages, fatal errors, or panics will be logged.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.