Project

General

Profile

Actions

Bug #11594

closed

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

Added by Nico César over 7 years ago. Updated over 6 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 #1

Updated by Tom Morris about 7 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege over 6 years ago

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

Updated by Tom Morris over 6 years ago

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

Updated by Tom Clegg over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Tom Morris over 6 years ago

  • Release set to 13
Actions

Also available in: Atom PDF