How do I turn off this logging?
如何关闭此日志记录?
Log
Dec 03, 2013 1:23:21 PM com.google.appengine.datanucleus.MetaDataValidator validate
INFO: Performing appengine-specific metadata validation for com.mwv.pic.dto.Study
lib/logging.properties
.level=INFO
# Set the default logging level for ORM, specifically, to WARNING
DataNucleus.level=WARNING
com.google.appengine.datanucleus=WARNING
Run Configurations > Arguments > Program Arguments
-Djava.util.logging.config.file=file:lib/logging.properties
If I put -Djava.util.logging.config.file=file:lib/logging.properties
in VM argument properties, then NOTHING will log!
如果我在VM参数属性中放入-Djava.util.logging.config.file = file:lib / logging.properties,那么NOTHING将会记录!
1 个解决方案
#1
0
I think that you will find that DataNucleus JDO (if indeed you are using JDO) depends on the logging technology Apache Log4J.
我认为你会发现DataNucleus JDO(如果你确实使用的是JDO)依赖于Apache Log4J的日志记录技术。
I use JDO and define DataNucleus Log4J settings in files called "log4j.properties": one for production and one for app building using NetBeans.
我使用JDO并在名为“log4j.properties”的文件中定义DataNucleus Log4J设置:一个用于生产,一个用于使用NetBeans构建应用程序。
#1
0
I think that you will find that DataNucleus JDO (if indeed you are using JDO) depends on the logging technology Apache Log4J.
我认为你会发现DataNucleus JDO(如果你确实使用的是JDO)依赖于Apache Log4J的日志记录技术。
I use JDO and define DataNucleus Log4J settings in files called "log4j.properties": one for production and one for app building using NetBeans.
我使用JDO并在名为“log4j.properties”的文件中定义DataNucleus Log4J设置:一个用于生产,一个用于使用NetBeans构建应用程序。