This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
In log4j you can write your own classes that write logging messages somewhere (for example to your own logging system). In Java logging, you can do the same by implementing a java.util.logging.Handler. Lookup the documentation.