Top Menu

Jump to content
Home
    • Projects
    • Activity
    • Work packages
    • Calendars
    • Team planners
    • Boards
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • Forums
  • Feature tour
    Feature tour
You are here:
  • Forums
  • Support Installation & Updates

Content

OpenProject Application logs

Added by Abdullah Nasim over 5 years ago

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.


Replies (4)

RE: OpenProject Application logs - Added by Oliver Günther over 5 years ago

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

RE: OpenProject Application logs - Added by Michael McCray almost 5 years ago

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?

RE: OpenProject Application logs - Added by Jason Culligan almost 4 years ago

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

RE: OpenProject Application logs - Added by Wojciech Niziński over 3 years ago

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
  • (1 - 4/4)
Loading...