logging - Info about parameters and rendered partials missing from Rails development log file -


this how normal rails 3.2 log file entry looks like:

started "/admin" 127.0.0.1 @ 2013-08-05 14:36:43 +0200   processing admin::pagescontroller#show html     parameters: {"id"=>"admin/dashboard"}     post load (1.5ms)  select 'posts'.* 'posts' 'posts'.'riddle' = 1 , 'posts'.'solved_at' <= '2013-08-05 12:36:43' order comments_count desc limit 1     [...]     cache (0.0ms)  select 'comments'.* 'comments' 'comments'.'post_id' = 74 order 'comments'.'id' desc limit 1      (0.3ms)  select count(*) 'posts' 'posts'.'riddle' = 1     rendered admin/dashboard.html.haml within layouts/admin (109.1ms)     rendered shared/admin/_header.html.haml (3.8ms)   

the problem: in 1 of apps, leading processing ... , parameters: ... , trailing rendered ... lines missing , can't life of me figure out why!

started "/admin" 127.0.0.1 @ 2013-08-05 14:36:43 +0200     post load (1.5ms)  select 'posts'.* 'posts' 'posts'.'riddle' = 1 , 'posts'.'solved_at' <= '2013-08-05 12:36:43' order comments_count desc limit 1     [...]     cache (0.0ms)  select 'comments'.* 'comments' 'comments'.'post_id' = 74 order 'comments'.'id' desc limit 1      (0.3ms)  select count(*) 'posts' 'posts'.'riddle' = 1   

the app big , includes many gems post relevant parts here, tried removing gems in development, verified log level set :debug, logger standard 1 etc.

has seen before?

check logger used actioncontroller::base same 1 used rest of app. in rails console, actioncontroller::base.logger == rails.logger should true.

if false, app somewhere setting specific logger actioncontroller::base using actioncontroller::base.logger = activesupport::taggedlogging.new(logger.new('log/controllers.log'))


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -