Menu

#54 Log4j config for unit tests

suggestions
open
rio
None
6
2011-01-21
2010-07-27
No

Try running a unit test that uses code with logging - you will notice warning messages stating that log4j is not configured.

Find out how to configure log4j for JUnit tests. All messages, regardless of their severity, should be logged to stdout while running tests.

Discussion

  • Matej Vitásek

    Matej Vitásek - 2010-08-21
    • milestone: 1175973 --> 1175974
    • priority: 4 --> 6
     
  • Matej Vitásek

    Matej Vitásek - 2010-10-18
    • milestone: 1175974 --> 1175975
     
  • Matej Vitásek

    Matej Vitásek - 2011-01-21
    • milestone: 1175975 --> suggestions
     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.