[ 
https://issues.apache.org/jira/browse/FELIX-6440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487001#comment-17487001
 ] 

Carsten Ziegeler commented on FELIX-6440:
-----------------------------------------

[~Ponziani] Thanks for your PR; it seems I overlooked this issue for quiet some 
time :(

Your PR unfortunately clashes with 
https://issues.apache.org/jira/browse/FELIX-6492 where we removed usage of 
deprecated methods from Jetty.
Now how about adding a new configuration where you can specify the format 
string that gets applied to the logger? This way you can fine tune the logging 
in whatever way without requiring many different properties. 

> Delegate JettyConfig properties to OSGi LogService
> --------------------------------------------------
>
>                 Key: FELIX-6440
>                 URL: https://issues.apache.org/jira/browse/FELIX-6440
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.jetty-4.1.14
>            Reporter: Steven Huypens
>            Priority: Major
>
> When using Felix-Jetty we want to be able to configure the request logging 
> generated by the OSGi logger, eg. timezone and date format.
>  
> {code:java}
> /** Felix specific property to enable extended request logging to a named 
> file */
> public static final String FELIX_HTTP_REQUEST_LOG_FILE_EXTENDED = 
> "org.apache.felix.http.requestlog.file.extended";
> /** Felix specific property to ignore matching paths in the request log file 
> */
> public static final String FELIX_HTTP_REQUEST_LOG_FILE_IGNORE_PATHS = 
> "org.apache.felix.http.requestlog.file.ignorepaths";
> /** Felix specific property to enable request logging cookies in the request 
> log file*/
> public static final String FELIX_HTTP_REQUEST_LOG_FILE_LOG_COOKIES = 
> "org.apache.felix.http.requestlog.file.logcookies";
> /** Felix specific property to enable request logging the host name in the 
> request log file*/
> public static final String FELIX_HTTP_REQUEST_LOG_FILE_LOG_SERVER = 
> "org.apache.felix.http.requestlog.file.logserver";
> /** Felix specific property to enable request logging request processing time 
> in the request log file*/
> public static final String FELIX_HTTP_REQUEST_LOG_FILE_LOG_LATENCY = 
> "org.apache.felix.http.requestlog.file.loglatency";
> /** Felix specific property to specify the date format used for the logging 
> timestamps*/
> public static final String FELIX_HTTP_REQUEST_LOG_FILE_DATE_FORMAT = 
> "org.apache.felix.http.requestlog.file.logdateformat";
> /** Felix specific property to specify the timezone used for the logging 
> timestamps*/
> public static final String FELIX_HTTP_REQUEST_LOG_FILE_TIMEZONE = 
> "org.apache.felix.http.requestlog.file.timezone"; {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to