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
Post a Comment