Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #6811 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

mongrelized script/server ignores log_level in config

Reported by: baudelairien Assigned to: core
Priority: normal Milestone: 1.2
Component: Railties Version: 1.2.0rc1
Severity: minor Keywords: log, mongrel
Cc: rsanheim@gmail.com

Description

commands/servers/mongrel.rb invokes Rails::Initializer.run(:initialize_logger)

this set RAILS_DEFAULT_LOGGER before Initializer#load_environment is invoked, so that the mongrel debugger uses the environment default and ignores any setting in config/environment.rb or config/environments/*

Change History

01/02/07 11:10:13 changed by rsanheim

  • cc set to rsanheim@gmail.com.

Yes, this indeed sucks.

01/24/07 03:09:15 changed by jeremymcanally

  • status changed from new to closed.
  • resolution set to duplicate.

Hi, I've uploaded a patch at #7084 :)