Forum Discussion
Chris_Miller
Altostratus
Sep 01, 2010What to collect for HTTP - 500 Errors?
I'd like to log HTTP 500 errors but am unsure of what info to log. I know I can log IP::server_addr but what can I do as far as the URI a user was trying to hit that caused the error?
when HTTP_RE...
JRahm
Admin
Sep 02, 2010You would need to capture the uri on the inbound and save it in a variable. Here are a couple good rules in the codeshare that give you a start on what you might consider collecting:
http://devcentral.f5.com/wiki/default.aspx/iRules/FormattedLoggingForW3c.html Click Here
http://devcentral.f5.com/wiki/default.aspx/iRules/Custom_Apache_style_logging_for_Java_based_applications.html Click Here
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects