I was currently a controller I would like to keep track of logging in a different log file, such as: tracker.log I currently I take about 100,000 hits a day, and I want to separate the log from all other controllers so that I can easily debug the tracker along with those people.
I could not find anything for Rails :: Initializer, it would extend exclusively for a controller.
I know this will happen with the following:
config.log_path = 'Log / Tracker Log'
However, Can not run, right?
You just have to log the class (which is used by rail to generate log files) You need to make your own example and it must pass a file instance as argument.
Comments
Post a Comment