In a debian 8 box I got a PostgreSQL 9.4 up and running in production environment.
Recently I found that the
postgres-9.4-main.log is larger than 38 GB.
I have adjusted the
log_truncate_on_rotation parameter to
true and restarted the cluster.
It's all fine but I still have the 38 GB log file. How can I get rid of it?