Hi, I''m facing logs (in development but even production mode) filled with white lines instead of usual debug... could someone give me some help? I''ve added a static logger.warn("wake up neo...") within a controller but I don''t see the message in the log file there''s just some brand new white lines. I''ve tried catting something to the log file and I see that something.... I really can''t figure out what this is about. Any suggestions are welcome. Thanks, Enrico -- "The only thing necessary for the triumph of evil is for good men to do nothing" Edmund Burke
What version of Ruby are you using? I had the same problem with blank lines in the log files immediately after I upgraded to Ruby 1.8.3. I downgraded back to 1.8.2 and logging was restored. Enrico Teotti wrote:> Hi, > I''m facing logs (in development but even production mode) filled with > white lines instead of usual debug... could someone give me some help? > I''ve added a static logger.warn("wake up neo...") within a controller > but I don''t see the message in the log file there''s just some brand > new white lines. > I''ve tried catting something to the log file and I see that > something.... I really can''t figure out what this is about. Any > suggestions are welcome. > Thanks, > Enrico >
I''m sure this isn''t your problem, but you never know - I turned off colorize_logging ActiveRecord::Base.colorize_logging = false which was hiding log lines with white on white text (or black on black I forget) On 10/7/05, Saltman <saltman-459giS/99bMmp8TqCH86vg@public.gmane.org> wrote:> What version of Ruby are you using? I had the same problem with blank > lines in the log files immediately after I upgraded to Ruby 1.8.3. I > downgraded back to 1.8.2 and logging was restored. > > Enrico Teotti wrote: > > Hi, > > I''m facing logs (in development but even production mode) filled with > > white lines instead of usual debug... could someone give me some help? > > I''ve added a static logger.warn("wake up neo...") within a controller > > but I don''t see the message in the log file there''s just some brand > > new white lines. > > I''ve tried catting something to the log file and I see that > > something.... I really can''t figure out what this is about. Any > > suggestions are welcome. > > Thanks, > > Enrico > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On Friday 07 Oct 2005 15:24, Saltman wrote:> What version of Ruby are you using? I had the same problem with blank > lines in the log files immediately after I upgraded to Ruby 1.8.3. I > downgraded back to 1.8.2 and logging was restored.Just a "me too" here. Downgrading to Ruby 1.8.2 fixed it for me, and AFAIK Rails isn''t working 100% with Ruby 1.8.3 yet. ~Dave -- Dave Silvester Rent-A-Monkey Website Development Web: http://www.rentamonkey.com/
On Friday 07 October 2005 14:11, Enrico Teotti wrote:> Hi, > I''m facing logs (in development but even production mode) filled with > white lines instead of usual debug... could someone give me some > help?Have a look at the bug database http://dev.rubyonrails.org/ticket/2263 Michael -- Michael Schuerig They tell you that the darkness mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org Is a blessing in disguise http://www.schuerig.de/michael/ --Janis Ian, From Me To You
thanks for your help people, that was definitly it! I was using rails 1.8.3 :-) I''ve solved downgrading to 1.8.2 -- "The only thing necessary for the triumph of evil is for good men to do nothing" Edmund Burke
On Friday 07 Oct 2005 18:04, Enrico Teotti wrote:> thanks for your help people, that was definitly it! I was using rails 1.8.3 > :-) I''ve solved downgrading to 1.8.2Ruby. Ruby 1.8.2. Current Rails version is 0.13.1. ;-) Although for some reason http://download.rubyonrails.com/ thinks it''s 0.13.0. ~Dave -- Dave Silvester Rent-A-Monkey Website Development Web: http://www.rentamonkey.com/