Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Duplicate
-
Affects Version/s: 6.0.2, 7.0.0.pre5, 6.1.14, 6.1.15.pre0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Currently one implementation of RequestLog exists: NCSARequestLog
NCSARequestLog only supports writing logs to a file on disk of the localhost
For users that need more logging options, another implementation of RequestLog that supports Log4j (or Apache commons logging) could probably satisfy any other possible logging options desired by Jetty users.
It could be named CommonsRequestLog, if using Apache commons logging - which also supports Log4j.
Or it could be named Log4jRequestLog, if using only Log4j logging.
With Log4j support for the access logs, Jetty would be able to log access logs to a syslog facility.
In some enterprise deployments, syslog is used to centralize logs from a server farm onto a single centralized secure server.
For further information, please see the thread:
user@jetty.codehaus.org, "RequestLog with syslog support", 2008-12-12
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Jesse McConnell [ jesse ] |
| Attachment | jetty-logging-log4j.zip [ 40565 ] |
| Affects Version/s | 7.0.0.pre6 [ 14687 ] |
| Assignee | Jesse McConnell [ jesse ] | Joakim Erdfelt [ joakime ] |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Duplicate [ 3 ] |
You should have a look at logback, in particular logback-access which has support for access logging in Jetty.
http://logback.qos.ch/
http://logback.qos.ch/access.html