Re: [eclipselink-users] Logging questions
Yes, when using java.util.logging you must configure the level in the
Swierzynski, Rafal wrote:
> Hi. I have been trying to configure logging in SE to my needs, and have a
> couple of observations / questions:
> 1. I want to use java.uti.logging (JUL), so I set:
> <property name="eclipselink.logging.logger"
> value="org.eclipse.persistence.logging.JavaLog" />
> I noticed that when this JavaLog is used, the "eclipselink.logging.level"
> property is ignored, and the ones from logging.properties are used. Other
> options, like logging sessions and timestamp do work. Is this observation
> 2. Normally in JUL one can set the "java.util.logging.config.file"
> to change the config file from the default
> ($JRE_HOME/lib/logging.properties). The documentation only mentions that
> it is possible to configure logging by changing the JVM wide file - is
> there any particular reason for that? As this is a pretty intrusive thing
> to do (influences all apps running on this JVM and using JUL), it might be
> a good idea to mention the other option too, if there are no objections.
> The only gotcha worth mentioning I noticed is that when dynamic weaving in
> SE is used via -javaagent:eclipselink.jar, the config file property has to
> be specified on the command line as JVM parameter, not by calling
> System.setProperty(), as it is not visible then.
> eclipselink-users mailing list
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland
EclipseLink , http://www.oracle.com/technology/products/ias/toplink/
Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink ,
Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink ,
Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence
View this message in context: http://old.nabble.com/Logging-questions-tp27788400p27837321.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.