undefined method 'log_path'

Added by Mario Luzeiro over 5 years ago

in config/application.rb:55

it appears to me after I update the latest SVN version.

Any ideas?

Replies (3)

RE: undefined method 'log_path' - Added by Mario Luzeiro over 5 years ago

Its related with confif/additional_environment.rb option to rotate the log, it seams that it doens't work this way now :\

RE: undefined method 'log_path' - Added by Steven Wong over 5 years ago

How to solve it?

RE: undefined method 'log_path' - Added by Mac Ozi about 5 years ago

Try changing line creating logger to something like that:

config.logger = Logger.new("log/log.log", 7, 1048576)

Logs will just change name to "log.log" and will stay in same directory.

(1-3/3)