How to configure log4r 1.1.10 with rails 3.2.13 and ruby 2.0.0 p0 -


i newbie ruby on rails , struck configuring logging application developing

i followed steps answered in question a link

in log directory, log file gets created. nothing gets written log file.

i using ruby 2.0.0 p0. how debug , fix this? struck on day.

got fixed. having rails.logger = log4r::logger.new("application log") in environment.rb file.

once removed it, logging worked fine.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -