Before deploying my GAE application, I run several hundred unit tests locally. I am using LocalServiceTestHelper to use GAE services like memcache or data warehouse. Setting up and turning off the helper between tests creates a lot of log output.
How can I reconfigure java.util.logging to avoid INFO messages caused by LocalServiceTestHelper completely?
INFO: Local Datastore initialized: Type: Master/Slave Storage: In-memory Feb 08, 2013 7:01:52 PM com.google.appengine.api.taskqueue.dev.LocalTaskQueue init INFO: LocalTaskQueue is initialized Feb 08, 2013 7:01:52 PM com.google.appengine.api.taskqueue.dev.LocalTaskQueue init INFO: Automatic task execution is disabled. Feb 08, 2013 7:01:52 PM org.quartz.simpl.SimpleThreadPool initialize INFO: Job execution threads will use class loader of thread: main Feb 08, 2013 7:01:52 PM org.quartz.core.QuartzScheduler <init> INFO: Quartz Scheduler v.null.null.null created. Feb 08, 2013 7:01:52 PM org.quartz.simpl.RAMJobStore initialize INFO: RAMJobStore initialized. Feb 08, 2013 7:01:52 PM org.quartz.impl.StdSchedulerFactory instantiate INFO: Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' Feb 08, 2013 7:01:52 PM org.quartz.impl.StdSchedulerFactory instantiate INFO: Quartz scheduler version: null.null.null Feb 08, 2013 7:01:52 PM com.google.appengine.api.taskqueue.dev.LocalTaskQueue start_ INFO: Local task queue initialized with base url http://localhost:8080 Feb 08, 2013 7:01:52 PM org.quartz.core.QuartzScheduler shutdown INFO: Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. Feb 08, 2013 7:01:52 PM org.quartz.core.QuartzScheduler standby INFO: Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused. Feb 08, 2013 7:01:52 PM org.quartz.core.QuartzScheduler shutdown INFO: Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.
EDIT:
I created the src / test / resources / logging.properties file. The file is copied to the target / test classes / before running the tests. It has the following contents:
com.google.appengine.api.taskqueue.dev.level=SEVERE org.quartz.level=WARNING
But I still see the same log when running tests.
source share