production logging and errors

12 views
Skip to first unread message

Jonathan Vanasco

unread,
Apr 12, 2013, 8:16:21 PM4/12/13
to pylons-discuss
I'm trying to track down where bugs happen on production code.

The Traceback in the logs doesn't have the URL.

The best option I see, is to look for a line like this after the URL :
[pid: 23566|app: 0|req: 251/251] 206.217.86.228 () {42 vars in
1695 bytes} [Fri Apr 12 16:02:39 2013] GET /account/home => generated
0 bytes in 78 msecs (HTTP/1.1 500) 0 headers in 0 bytes (0 switches on
core 0)

the magic part of that message is
(HTTP/1.1 500) 0 headers in 0 bytes

but in that example, only the local part is shown ( "GET /account/
home" ) -- not the domain.

Does anyone know how to get more detailed info printed along with the
traceback ? I'd like to know the full request URI ( as the domain and
querystring are needed to fix )
Reply all
Reply to author
Forward
0 new messages