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

Ticket #7084 (new defect)

Opened 2 years ago

Last modified 1 year ago

[PATCH] Fixed mongrelized script/server logger

Reported by: jeremymcanally Assigned to: core
Priority: normal Milestone: 1.2.7
Component: Railties Version: edge
Severity: major Keywords: tiny, logger
Cc:

Description

As detailed in #6811, the mongrelized server will use a different than specified in environment because of the way it loads. This patch forces mongrel to load the environment and thus properly set the logger. Even further, it wasn't referring to the the configuration's log_path variable for its logger setting; it had hardcoded its own.

Attachments

fix_mongrel_server_logger.2.diff (0.8 kB) - added by jeremymcanally on 01/16/07 13:07:19.
Svn diff
fix_mongrel_server_logger.diff (0.8 kB) - added by jeremymcanally on 01/16/07 13:07:23.
Svn diff

Change History

01/16/07 13:07:19 changed by jeremymcanally

  • attachment fix_mongrel_server_logger.2.diff added.

Svn diff

01/16/07 13:07:23 changed by jeremymcanally

  • attachment fix_mongrel_server_logger.diff added.

Svn diff

08/17/07 22:33:25 changed by kevinclark

I can confirm the bug, but the fix doesn't seem to do it for me. Did this work for you jeremy?

08/30/07 10:21:08 changed by lazyatom

You may also want to look at #8665, which overlaps with this patch somewhat.