Project

General

Profile

Actions

Bug #11594

closed

[API] [Workbench] set a default config.log_level

Added by Nico César almost 7 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release:
Release relationship:
Auto

Description

log_level isn't set by default, triggering the following deprecation warning:

DEPRECATION WARNING: You did not specify a `log_level` in `production.rb`. Currently, the default value for `log_level` is `:info` for the production environment and `:debug` in all other environments. In Rails 5 the default value will be unified to `:debug` across all environments. To preserve the current setting, add the following line to your `production.rb`:

   config.log_level = :info

Arvados out-of-the-box should come with a config.log_level set. My suggestion is to make it ":info"


Related issues

Related to Arvados - Feature #7709: [API] Upgrade API server to Rails 4.2ResolvedTom Clegg03/19/2017Actions
Actions

Also available in: Atom PDF