简体   繁体   中英

How do I turn off this logging?

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!

I think that you will find that DataNucleus JDO (if indeed you are using JDO) depends on the logging technology 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM