Bug #11594

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

Added by Nico C├ęsar over 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
05/01/2017
Due date:
% Done:

100%

Estimated time:
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.2Resolved03/19/2017

Associated revisions

Revision 0695b41a (diff)
Added by Tom Clegg over 2 years ago

Fix startup warning by setting log_level explicitly.

fixes #11594

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <>

History

#1 Updated by Tom Morris over 3 years ago

  • Target version set to Arvados Future Sprints

#2 Updated by Ward Vandewege over 2 years ago

  • Assigned To set to Ward Vandewege
  • Target version changed from Arvados Future Sprints to 2018-07-03 Sprint

#3 Updated by Tom Morris over 2 years ago

  • Subject changed from [API] [Wrokbench] set a default config.log_level to [API] [Workbench] set a default config.log_level

#4 Updated by Tom Clegg over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#5 Updated by Tom Morris over 2 years ago

  • Release set to 13

Also available in: Atom PDF