Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Set default log level to debug in dev mode

Oliver Günther616c1a5a2f7f
diff --git a/config/constants/settings/definitions.rb b/config/constants/settings/definitions.rb
index e3879834718..e289af8fec4 100644
--- a/config/constants/settings/definitions.rb
+++ b/config/constants/settings/definitions.rb
@@ -529,7 +529,7 @@ Settings::Definition.define do
writable: true
add :log_level,
- default: 'info',
+ default: Rails.env.development? ? 'debug' : 'info',
writable: false
add :log_requesting_user,