We're using org.codehaus.btm:btm:2.1.4
for our tests and we're seeing these files appear in our maven module directory (which is the working directory):
btm1.tlog
btm2.tlog
I'd like them to be created in another directory, for example in target/btmlogs/
. How can I do configure BTM to do that?
You will have to configure the TransactionManager. Relevant part of the configuration
Do it in a file called
src/main/resources/bitronix-default-config.properties
. Something like this: