Log4J : Route specific category to dedicated logger

# ..even better, send it to a different appender. Note, however, that 
# this doesn't mean that any loggers from a lower level won't be used: 
# everything still inherits, so this new logger is used _in_addition_to_ 
# the loggers it would have otherwise already used.
log4j.category.com.johnmunsch=debug, socketLogger
I was always puzzled with this, the XML way seems to be more flexible. Generally this looks like a good run-through sample.

No comments: