Logging in pgsql 7. February 2017 mika Comments (0) edit postgresql.conf and change the following: log_statement = 'all' log_min_duration_statement = 0 logging_collector = on #log_directory = 'pg_log' make sure pg_log is available relative to the data dirrestart pgsql service