Hello all, I need to view rails logs in Win32... how to deal with the control codes in the log files ? Thanks. Peter Fitzgibbons
While I don''t know how to view colorized logs in Windows, you can turn off the colorizing by adding the following line to your environment.rb file: ActiveRecord::Base.colorize_logging = false I''m also interested in an application that can interpret the colorizing correctly, but until then the above will work. On 10/20/05, Peter Fitzgibbons <peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello all, > > I need to view rails logs in Win32... how to deal with the control > codes in the log files ? > > Thanks. > > Peter Fitzgibbons > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -Matt Torok
On 10/20/05, Matt Torok <magicmat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> While I don''t know how to view colorized logs in Windows, you can turn > off the colorizing by adding the following line to your environment.rb > file: > ActiveRecord::Base.colorize_logging = false > > I''m also interested in an application that can interpret the > colorizing correctly, but until then the above will work.I believe that''d be config.active_record.colorize_logging = false in the new environment.rb if you''re using that already. Also, try these tail apps: Tail for Win32 - http://tailforwin32.sourceforge.net/ GNU Utilities for Win32 - http://unxutils.sourceforge.net/ -- rick http://techno-weenie.net
I''ll bet Cygwin would display them correctly. -- -- Tom Mornini On Oct 20, 2005, at 1:56 PM, Matt Torok wrote:> While I don''t know how to view colorized logs in Windows, you can turn > off the colorizing by adding the following line to your environment.rb > file: > ActiveRecord::Base.colorize_logging = false > > I''m also interested in an application that can interpret the > colorizing correctly, but until then the above will work. > > On 10/20/05, Peter Fitzgibbons <peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Hello all, >> >> I need to view rails logs in Win32... how to deal with the control >> codes in the log files ? >> >> Thanks. >> >> Peter Fitzgibbons >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > > > -- > -Matt Torok > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >