Open link in a new tab

Content

Expand project menu

Openproject log files, how do I change them?

While doing a routine check on the logs, I found that my production.log file is not beeing updated since 04/15/2019. Maybe I made some configuration error during past updates, so I tried to check where this file was configured, but I couldn't find it. 

Where is the default logfile defined? How can I change it? This is my setup:

  • Openproject v.9.0.4 running on Debian8 (recently migrated from MySQL to Postgres)
  • Home dir is /home/openproject
  • Log dir is /home/openproject/log

I tried to add these lines to /home/openproject/config/configuration.yml:

production:
  log_level: debug

and then I restarted Openproject:

openproject restart

but still I cannot find an updated logfile in the system. I'm probably doing something wrong, how can I solve this? Thanks.