Essentially I'm looking for something with the same behavior, configuration, logging levels as log4j, but with some of the missing functionality (e.g. formatted logging — see here and here for related SO threads.)
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
since a lot of frameworks already support slf4j you will only have to setup your logging once with slf4j.
i use slf4j and it is super-easy to read + use.
I'd also suggest SLF4J, ideally with Logback. Take a look at What’s Up with Logging in Java? and Find a way in the java logging frameworks scene., too.
I'm inclined toward SLF4J.
log5j is good, but does not have near as much market penetration.