I want to implement a Custom logger which logs all log entries to a Database. Currently my app logs this way (slf4j and log4j binding):
private static final Logger logger = LoggerFactory.getLogger( MyClass.class );
I'm not sure how to proceed. My Idea is to implement a Custom Logging binding through implementing the org.slf4j.Logger Interface
What would be the next steps? My target is to not change the current code
Links I considered:
http://stackoverflow.com/questions/1770442/java-custom-logger-logging-standards-or-and-best-practices http://www.slf4j.org/manual.html