Is it possible to have different appenders in a log4j.xml file and write to the one I want in the code?
I want to have 2 different loggers, 1 that is the normal application log file where all the debug, info, warn, etc. entries go. Then I want to have a detailed log file where I write details about the j2ee call a client made. We would only go to the second log file if there was a question about the data. I would expect the second file to get large quickly so I was going to make it file size specific with 10 generates or so. It would only store a few days worth of information, but that would be enough.
My other thought is if I can't specify which appender I want the log entry written to, I would create a class that allows me to control it based on the call.