Atomikos Forum |
|
Hi
When using com.atomikos.icatch.config.UserTransactionServiceImp as stated in the documentation, this creates by default a rotating file console log. Once created, the console can be overwritten with Configuration.removeConsoles() and Configuration.addConsole(new MyConsole()) but this makes it kludgy as all startup logs end up in this rotating file console. I'd like to propose the following code modification (on 3.4.4): in com.atomikos.icatch.standalone.UserTransactionServiceImp# createDefault ( Properties p ) add a if (Configuration.getConsole() == null) around the console initialization code. This would allow integrators to use Configuration.addConsole(new MyConsole()); new UserTransactionServiceImp() to fully integrate Atomikos logs in theirs. Let me know if and where I need to upload a patched version. /jog |