Browse Source

redmine: fix 500 error on logging

pull/53/head
Victor LABORIE 2 years ago
parent
commit
08ae9d73c4
  1. 1
      CHANGELOG.md
  2. 2
      redmine/templates/additional_environment.rb.j2

1
CHANGELOG.md

@ -27,6 +27,7 @@ The **patch** part changes incrementally at each release.
### Fixed
* rbenv: add check_mode for check rbenv and ruby versions
* nagios-nrpe: fix redis_instances check when Redis port equal 0
* redmine: fix 500 error on logging
### Security

2
redmine/templates/additional_environment.rb.j2

@ -1,5 +1,5 @@
config.log_level = :info
config.logger = Syslogger.new("redmine_{{ redmine_user }}")
config.logger = ActiveSupport::TaggedLogging.new(Syslogger.new("redmine_{{ redmine_user }}"))
{% if redmine_redis_path is defined %}
config.session_store :redis_store,
servers: { path: '{{ redmine_redis_path }}', db: 0, namespace: "session" }

Loading…
Cancel
Save