There are no special docs on logging, you did everything right. There are a few things worth noting (I am partly responsible for that):
* Old Jena versions used to depend on log4j12, slf4j-api, slf4j-log4j12 (yep). So I have just excluded everything except slf4j-api. This might inadvertently impact your jena logging. You might need to use
http://mvnrepository.com/artifact/org.slf4j/log4j-over-slf4j to
see some extra Jena warnings (not tested, we have finished migration from 2.13 to 3.0.1 some time ago and now migrating to 3.6.0 to provide JSON-LD support and all problems are solved there).
SLF4JBridgeHandler.removeHandlersForRootLogger();
SLF4JBridgeHandler.install();
java.util.logging.Logger.getLogger("").setLevel(Level.FINEST);
–Andrew.
We are attempting to debug an error response (400) returned from our Eclipse Lyo (OSLC4J) implementation. We have the SLF4J JARs (API and Log4J) to the classpath and set the following logger level:
log4j.logger.org.eclipse.lyo=TRACE
However, we are not seeing any trace/debug logging in our log file.
Some questions:
1. Is there any documentation/WIKI on logging in Eclipse Lyo?
2. Is there any know trace/debug logging we could invoke to verify logging is working?
Thanks,
Paul
|
Paul Slauenwhite | Development Team Lead, IBM Rational Quality Manager
|
<Mail Attachment.png>
|
paulslau@xxxxxxxxxx | Home Office: (902) 404-1589 | Mobile: (902) 221-6721
|
Persistent Systems Ltd. | Partners in Innovation |
www.persistent.com
|
<Mail Attachment.gif> |
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/lyo-dev