adoroszlai opened a new pull request, #5053:
URL: https://github.com/apache/ozone/pull/5053

   ## What changes were proposed in this pull request?
   
   Replace SLF4J logger with Log4J2 logger to ensure custom logging config from 
`dn-container-log4j2.properties` is applied.
   
   https://issues.apache.org/jira/browse/HDDS-9002
   
   ## How was this patch tested?
   
   ```
   $ cd hadoop-ozone/dist/target/ozone-1.4.0-SNAPSHOT/compose/ozone
   $ OZONE_DATANODES=1 ./run.sh -d
   $ docker-compose exec scm ozone freon ockg -n1 -t1 --factor ONE
   ... 
   
   $ docker-compose exec datanode bash -c "cat 
/var/log/hadoop/dn-container-*.log"
   2023-07-12 13:29:19,430 | INFO  | ID=1 | Index=0 | BCSID=0 | State=OPEN |  
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to