Java Util Logging
- Introduced in JDK 1.4
- A minimal built-in logging implementation
Sample code
import java.util.logging.*;
Logger logger = Logger.getLogger("name")
logger.info("A message with param {0} and {1}", new Object[]{a, b});
Drawbacks
- Lack of flexibility of configuration
- Bad performance
- Has important limitations
- Cannot be replaced by another library
- See Why not use java.util.logging?
Redirection
- The jul-to-slf4j bridge redirect JUL to slf4j
- An adapter for log4j v2 is available
- The process impacts the performance