You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/02/05 10:36:28 UTC

[GitHub] [ozone] adoroszlai opened a new pull request #1896: HDDS-4794. No appenders could be found for logger - in tests

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


   ## What changes were proposed in this pull request?
   
   Unit tests in some submodules only output:
   
   ```
   log4j:WARN No appenders could be found for logger (org.apache.hadoop.hdds.utils.db.RDBStore).
   log4j:WARN Please initialize the log4j system properly.
   log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
   ```
   
   Adding `log4j.properties` to fix it.
   
   https://issues.apache.org/jira/browse/HDDS-4794
   
   ## How was this patch tested?
   
   Checked which tests were affected:
   https://github.com/adoroszlai/hadoop-ozone/runs/1834026205#step:4:1
   
   And that no test had the problem with the fix:
   https://github.com/adoroszlai/hadoop-ozone/runs/1834329207#step:4:1


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] lamber-ken edited a comment on pull request #1896: HDDS-4794. No appenders could be found for logger - in tests

Posted by GitBox <gi...@apache.org>.
lamber-ken edited a comment on pull request #1896:
URL: https://github.com/apache/ozone/pull/1896#issuecomment-774645062


   👍 seems that we can remove `log4j.threshold=ALL`.
   
   `ALL` includes `INFO`: 
   ```
   log4j.rootLogger=INFO,stdout
   log4j.threshold=ALL
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] adoroszlai commented on pull request #1896: HDDS-4794. No appenders could be found for logger - in tests

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #1896:
URL: https://github.com/apache/ozone/pull/1896#issuecomment-775429478


   Thanks @lamber-ken and @swagle for the review.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] adoroszlai merged pull request #1896: HDDS-4794. No appenders could be found for logger - in tests

Posted by GitBox <gi...@apache.org>.
adoroszlai merged pull request #1896:
URL: https://github.com/apache/ozone/pull/1896


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] lamber-ken edited a comment on pull request #1896: HDDS-4794. No appenders could be found for logger - in tests

Posted by GitBox <gi...@apache.org>.
lamber-ken edited a comment on pull request #1896:
URL: https://github.com/apache/ozone/pull/1896#issuecomment-774645062


   👍 seems that we can remove `log4j.threshold=ALL`.
   
   `ALL` includes `INFO`, and if using following config properties, `TRACE`, `DEBUG` logs will not console to stdout.
   ```
   log4j.rootLogger=INFO,stdout
   log4j.threshold=ALL
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] lamber-ken commented on pull request #1896: HDDS-4794. No appenders could be found for logger - in tests

Posted by GitBox <gi...@apache.org>.
lamber-ken commented on pull request #1896:
URL: https://github.com/apache/ozone/pull/1896#issuecomment-774645062


   👍 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org