Tomcat日志文件中的Hibernate相关日志

时间:2015-05-07 23:54:27

标签: hibernate tomcat

我正在开发一个项目,最近我们从tomcat7升级到了tomcat8。之后,我们的应用程序的日志文件中出现了一些额外的日志记录,即使我们从未将这些行放在任何地方。以下是日志文件的示例:

2015-05-07T23:24:45.809Z DEBUG ClasspathScanner                    : Starting classpath scanning...
2015-05-07T23:24:45.813Z WARN  ClasspathScanner                    : No base packages specified - no classpath scanning will be done
2015-05-07T23:24:45.815Z DEBUG ClasspathScanner                    : Classpath scanning done
2015-05-07T23:24:46.065Z INFO  Version                             : Hibernate Validator 4.1.0.Final
2015-05-07T23:24:46.070Z DEBUG DefaultTraversableResolver          : Cannot find javax.persistence.PersistenceUtil on classpath. All properties will per default be traversable.
2015-05-07T23:24:46.072Z DEBUG ValidationXmlParser                 : No META-INF/validation.xml found. Using annotation based configuration only
2015-05-07T23:24:46.215Z DEBUG LifecycleManager                    : Starting com.my.own.MyOwnConfigurationFile
2015-05-07T23:24:46.219Z DEBUG LifecycleManager                    :    init()
2015-05-07T23:24:46.222Z DEBUG LifecycleManager                    : Starting com.my.own.MyOwnConfiguration
2015-05-07T23:24:46.222Z DEBUG LifecycleManager                    :    init()
2015-05-07T23:24:46.229Z INFO  MyOwnConfiguration                  : Config setting ==> LogLevel = INFO
2015-05-07T23:24:46.230Z INFO  MyOwnConfiguration                  : Minimum required OpenSSL version is: 1.0.2a. Please refer to catalina.out or catalina.log for the version of OpenSSL you are using.
2015-05-07T23:24:46.230Z DEBUG LifecycleManager                    : Starting com.my.own.MyOwnLogSetup
2015-05-07T23:24:46.231Z DEBUG LifecycleManager                    :    init()
2015-05-07T23:24:46.231Z INFO  MyOwnLogSetup                       : Log level set to INFO
2015-05-07T23:24:46.585Z INFO  MyOwnBuildProperties                : Product: Test
2015-05-07T23:24:46.585Z INFO  MyOwnBuildProperties                : Version: 0.0.0.384.bf2ceed
2015-05-07T23:24:46.591Z INFO  MyOwnHttpsConnectionImpl            : Server at https://127.0.0.1:8080/
2015-05-07T23:24:46.591Z INFO  MyOwnConfigurationFile              : Read from /etc/MyOwnConfiguration.conf
2015-05-07T23:24:46.592Z INFO  SomeOtherConfiguration              : Port=12345
2015-05-07T23:24:46.592Z INFO  SomeOtherConfiguration              : ExternalUDPPort=23456

ClasspathScanner,Version,DefaultTraversableResolver,ValidationXmlParser和LifecycleManager不在我的代码中。

它们似乎与hibernate相关,但hibernate未列出我们的pom文件。 Hibernate确实存在于生成的类路径中,但它自项目开始就已存在。

有没有人知道这些日志记录的来源以及如何禁用它们?

0 个答案:

没有答案