mirror of https://github.com/apache/openjpa.git
OPENJPA-1708 - Change a message logging from info to trace and correct supported log levels in manual.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@958018 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
20f2966ea1
commit
b27485bd8b
|
@ -28,7 +28,6 @@ import java.util.List;
|
||||||
import org.apache.openjpa.jdbc.meta.ClassMapping;
|
import org.apache.openjpa.jdbc.meta.ClassMapping;
|
||||||
import org.apache.openjpa.jdbc.sql.DBDictionary;
|
import org.apache.openjpa.jdbc.sql.DBDictionary;
|
||||||
import org.apache.openjpa.jdbc.sql.SQLBuffer;
|
import org.apache.openjpa.jdbc.sql.SQLBuffer;
|
||||||
import org.apache.openjpa.jdbc.sql.SQLExceptions;
|
|
||||||
import org.apache.openjpa.jdbc.sql.SQLFactory;
|
import org.apache.openjpa.jdbc.sql.SQLFactory;
|
||||||
import org.apache.openjpa.jdbc.sql.Select;
|
import org.apache.openjpa.jdbc.sql.Select;
|
||||||
import org.apache.openjpa.kernel.MixedLockLevels;
|
import org.apache.openjpa.kernel.MixedLockLevels;
|
||||||
|
@ -36,7 +35,6 @@ import org.apache.openjpa.kernel.OpenJPAStateManager;
|
||||||
import org.apache.openjpa.kernel.StoreContext;
|
import org.apache.openjpa.kernel.StoreContext;
|
||||||
import org.apache.openjpa.kernel.VersionLockManager;
|
import org.apache.openjpa.kernel.VersionLockManager;
|
||||||
import org.apache.openjpa.lib.util.Localizer;
|
import org.apache.openjpa.lib.util.Localizer;
|
||||||
import org.apache.openjpa.util.Exceptions;
|
|
||||||
import org.apache.openjpa.util.LockException;
|
import org.apache.openjpa.util.LockException;
|
||||||
import org.apache.openjpa.util.StoreException;
|
import org.apache.openjpa.util.StoreException;
|
||||||
|
|
||||||
|
@ -175,8 +173,8 @@ public class PessimisticLockManager
|
||||||
private void ensureStoreManagerTransaction() {
|
private void ensureStoreManagerTransaction() {
|
||||||
if (!_store.getContext().isStoreActive()) {
|
if (!_store.getContext().isStoreActive()) {
|
||||||
_store.getContext().beginStore();
|
_store.getContext().beginStore();
|
||||||
if (log.isInfoEnabled())
|
if (log.isTraceEnabled())
|
||||||
log.info(_loc.get("start-trans-for-lock"));
|
log.trace(_loc.get("start-trans-for-lock"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -294,8 +294,8 @@ error.
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<literal>DefaultLevel</literal>: The default logging level of unconfigured
|
<literal>DefaultLevel</literal>: The default logging level of unconfigured
|
||||||
channels. Recognized values are <literal> TRACE, DEBUG, INFO, WARN,</literal>
|
channels. Recognized values are <literal>TRACE, INFO, WARN, ERROR </literal>
|
||||||
and <literal>ERROR</literal>. Defaults to <literal>INFO</literal>.
|
and <literal>FATAL</literal>. Defaults to <literal>INFO</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
Loading…
Reference in New Issue