I am interested in using log4j for audit logging, in other words, I will open my own file and start logging anything I want. Therefore I do NOT want to use warn, info or any log level. Something like that:
Log log = new Log("blah.txt"); log.log("Test"); log.close(); How can I do that with LOG4J? A concrete example that I can run will be very appreciated. Thanks, Rebecca Ahlvarsson