Help Analyzing The Log...(first time newbie)

Hello.

Can someone please help me read this error log located in the log
folder? e[
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? /

e[4;35;1mProduct Load (0.000000)e[0m e[0mSELECT * FROM products
ORDER BY title e[0m
/ ^ 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.

e[4;36;1mProduct Columns (0.010000)e[0m e[0;1mSHOW FIELDS FROM
productse[0m
/^ 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

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

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

Dominic S. 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.

martin

He 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)e[0m e[0mSELECT * FROM products
ORDER 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs