> -----Original Message-----
> From: Jason Pyeron
> Sent: Wednesday, June 29, 2011 16:56
> Subject: Logging questions
>
> Using 2.1.x I have 2 questions I was unable to google for an
> answer after reading the manual.
>
> 1. Is it possible to (dynamically) change the logging levels
> at runtime?
Exception in thread "main" java.lang.RuntimeException: Can not modify "Log"
because the property is not dynamic and the current configuration is read-only.
at org.apache.openjpa.lib.conf.Value.assertChangeable(Value.java:480)
at
org.apache.openjpa.lib.conf.PluginValue.setString(PluginValue.java:135)
at
org.apache.openjpa.lib.conf.ConfigurationImpl.setLog(ConfigurationImpl.java:223)
>
> 2. Could someone elaborate more on the usage of
> java.util.logging by setting the value to "commons"?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.