[ 
https://issues.apache.org/jira/browse/HDDS-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shuo Huang reassigned HDDS-8096:
--------------------------------

    Assignee: Shuo Huang

> Redirect S3G jersey logs from stderr to log file
> ------------------------------------------------
>
>                 Key: HDDS-8096
>                 URL: https://issues.apache.org/jira/browse/HDDS-8096
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Wei-Chiu Chuang
>            Assignee: Shuo Huang
>            Priority: Minor
>
> While debugging S3 Gateway issue with [~smeng] and [~dteng], we realized the 
> S3G warnings logged by Jersey goes to stderr.
> [Jersey uses Java Util 
> Logging|https://github.com/eclipse-ee4j/jersey/blob/master/core-common/src/main/java/org/glassfish/jersey/internal/Errors.java#L26]
>  to log messages and does not support log4j2.
>  
> A possible solution is to use SLF4JBridgeHandler API or Log4j2's 
> Log4jBridgeHandler. 
> https://stackoverflow.com/questions/21781026/how-to-send-java-util-logging-to-log4j2



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to