On 29/07/13 10:37, Frederic Toublanc wrote:
Hello,
Is there a way to disable all logs of Jena TDB ?
And how to disable the debug mode ?
I set this option to false, but there are still logs.
TDB.getContext().set(ARQ.symLogExec, false);
G - com.hp.hpl.jena.tdb.transaction.NodeTableTrans - - [Debug] nodes:
commitPrepare
2013-07-29 11:34:53.43: MSG -
com.hp.hpl.jena.tdb.transaction.NodeTableTrans - - [Debug] nodes:
append: .....
2013-07-29 11:34:53.56: MSG -
com.hp.hpl.jena.tdb.transaction.NodeTableTrans - - [Debug] prefixes:
commitPrepare
Logging in Jena is done using slf4j, usually over log4j. log4j or java
logging sets the logging level, and usually that's done via some
configuration file. (Caution - some libraries have hidden log4j files
and this generally messes level setting up).
Those messages are ones on internal loggers, in the com.hp.hpl.jena.tdb
hierarchy. I don't recognise the "MSG - ... [Debug] ..." format, it's
not one that Jena uses when it does set logging in commands.
You seem to have set the logging level to debug somehow.
Set it to level WARN -- Jena should be silent at this level unless it
has something urgent to say.
Andy