Hello. Can someone please help me read this error log located in the log folder? [ displays ''ESC'' in my editor, but did not display in this copy and paste. so i''m wondering what that means too.. Session ID: cefa85a414c483d345b4e2fd5ce9449c / ^ just the session id / Parameters: {"action"=>"index", "controller"=>"store"} / ^ i''m guessing this is where the problem exist? / [4;35;1mProduct Load (0.000000) SELECT * FROM products ORDER BY title / ^ did it have a problem selecting from the DB or does it just say it executed it? Rendering within layouts/store Rendering store/index /^ gonna guess this rendered ok. [4;36;1mProduct Columns (0.010000) [0;1mSHOW FIELDS FROM products /^ still dont know what this ESC means - the square with the [0 Rendered store/_cart_item (0.00000) Rendered store/_cart (0.01000) I''m not even sure if it made an AJAX request. and/or even got a responce. May I please get a ''daRubi deCoder'' on this? Thanks a micro billion. Dominic -- Posted via http://www.ruby-forum.com/.
there''s no error - that''s a normal log. the escape sequences are ansi colouring codes. whch your terminal should''ve rendered properly as coloured text. martin On 6/23/06, Dominic Son <dominicson@gmail.com> wrote:> Hello. > > Can someone please help me read this error log located in the log > folder? [ > displays ''ESC'' in my editor, but did not display in this copy and paste. > so i''m wondering what that means too.. > > Session ID: cefa85a414c483d345b4e2fd5ce9449c > / ^ just the session id / > > Parameters: {"action"=>"index", "controller"=>"store"} > / ^ i''m guessing this is where the problem exist? / > > [4;35;1mProduct Load (0.000000) SELECT * FROM products > ORDER BY title > / ^ did it have a problem selecting from the DB or does it just say it > executed it? > > Rendering within layouts/store > Rendering store/index > /^ gonna guess this rendered ok. > > [4;36;1mProduct Columns (0.010000) [0;1mSHOW FIELDS FROM > products > /^ still dont know what this ESC means - the square with the [0 > > Rendered store/_cart_item (0.00000) > Rendered store/_cart (0.01000) > > I''m not even sure if it made an AJAX request. and/or even got a > responce. > > May I please get a ''daRubi deCoder'' on this? > > Thanks a micro billion. > > Dominic > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Dominic Son
2006-Jun-23 10:33 UTC
[Rails] Re: Help Analyzing The Log...(first time newbie)
Are you sure man? jk. thanks for looking at this. Martin DeMello wrote:> there''s no error - that''s a normal log. the escape sequences are ansi > colouring codes. whch your terminal should''ve rendered properly as > coloured text. > > martin-- Posted via http://www.ruby-forum.com/.
Dominic Son wrote:> Are you sure man? jk. thanks for looking at this. > > > Martin DeMello wrote: >> there''s no error - that''s a normal log. the escape sequences are ansi >> colouring codes. whch your terminal should''ve rendered properly as >> coloured text. >> >> martinHe is right. Everything is perfectly normal there.> Parameters: {"action"=>"index", "controller"=>"store"}This is just the parameter the requst was made with, telling the controller and action passed to rails to process the request> Product Load (0.000000) SELECT * FROM productsORDER BY title Also perfectly normal. In development mode all SQL queries are logged for troubleshooting purposes. It''s just showing what it said to the database. And the escape characters are supposed to be there. Most text editors wont read them properly but if you using a compliant terminal like puTTY or simply the unix command line and do a "tail -f log/development.log" you will see colors to break up the blocks of text. The ESC characters denote those colors. -- Posted via http://www.ruby-forum.com/.