Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370025 - [sites] Proxied HTTP error codes cause too much log noise
Summary: [sites] Proxied HTTP error codes cause too much log noise
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 18:23 EST by Mark Macdonald CLA
Modified: 2012-01-29 17:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2012-01-27 18:23:42 EST
1. Create a site with one rule:
 Path                         Server Path
 http://orion.eclipse.org     /
2. Start the site, and try to access some path that 404s, like /blah.txt
3. The Orion server logs a stack trace. This is just noise -- returning the 404 code to the user is sufficient.
Comment 1 Mark Macdonald CLA 2012-01-29 17:10:34 EST
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=ed85922838b66effbd4f1a1902a34fee2237c97f

Also suppressed logging to the server log when the remote host can't be found.