i need to see the performance of the queries in a Java app which use JPA/Hibernate/postgres, took me a while to find the postgres log file
/var/lib/pgsql/9.2/data/pg_log/postgresql-*.log
however i only found the queries from other application on other database,
i tried to modify the postgresql.conf to add
log_statement = 'all'
how can i make postgres to log my queries too? and how i can do it in my code? Thanks