Currently I am working on PostgreSQL Performance Analysis where I am using prefix %t %d for logging.
When I try to analysis log files, I found that lots of errors, logs outcome of analyse vaccum and system related process, those logs occupy maximum of the file space, so it's very difficult to find queries need to analyze which from application.
Please help me to suggest a solution, so that can able to maintain each separately in Postgresql Logging. Any suggestions?
pg_stat_statementsextension%u) the application name (%a) or maybe the session ID (%c) to the logfile prefix. Or you can add the username only for "real" sessions using%q%u