Hi,
I'd like to use log4j with basex-api but cannot figure out how to make this work. Currently, everything goes to the console.
The basex-api POM defines a dependency on slf4j-nop which as far as I undertand logs to dev/null Do I need to change the basex-api POM file to replace it with the slf4j log4j adapter?
And: what setting do I need to change the target output of the trace() function?
My web app POM contains these settings:
.... <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>${jettyVersion}</version> </dependency> <dependency> <groupId>org.basex</groupId> <artifactId>basex-api</artifactId> <version>${BaseXVersion}</version> ...
Regards,
Max