I want to have postgres log sql statements that take longer than 5 seconds to execute. In postgresql.conf I have set log_min_duration_statement as follows:
root@martin-desktop:/etc/postgresql/8.3/main# grep log_min_duration postgresql.conf log_min_duration_statement = 5000 # -1 is disabled, 0 logs all statements
May be you have log_min_messages = debug? Please, show full logging section.