Open link in a new tab

Content

Expand project menu

OpenProject Application logs

Where does OpenProject store its application logs?

I see some logs are stored in production.log file in log folder of root directory. But it does not show any logs besides some warnings of scss files. When installing do I have to configure anything for logging?

Does OpenProject log things like logins, work package updates, status changes etc? I want to eventually feed these logs into Splunk so I can create some meaningful dashboards to observe usage behavior and issues.

Message actions

Hi,

By default, OpenProject logs only errors and warnings. You can raise the logging level by setting the following line in config/additional_environment.rb

config.log_level = :debug
# (:info)

It will be a lot more verbose, however it will still not log things like work package updates since that is not actively logged.

Best,
Oliver

Message actions

I am trying to test out openproject's connection to our ldap server, it just gives a connect error, so I tried to enable the debug logging as described above, I restarted the service, and also ran "openproject reconfigure", but neither seems to enable the debug logging configuration.  How do I make this take effect?

Message actions

additional_environment.rb does not appear to exist in v9 or v10.

Oliver Günther wrote:

Hi,

By default, OpenProject logs only errors and warnings. You can raise the logging level by setting the following line in config/additional_environment.rb

config.log_level = :debug
# (:info)

It will be a lot more verbose, however it will still not log things like work package updates since that is not actively logged.

Best,
Oliver

Message actions

I can confirm that using config/additional_environment.rb is not working in v10.

To enable debug I have to modify File config/configuration.yml and add following lines:

production:
  log_level: debug