Author: davsclaus
Date: Mon Jan 5 00:39:44 2009
New Revision: 731492
URL: http://svn.apache.org/viewvc?rev=731492&view=rev
Log:
make scheduler more quiet in DEBUG mode as its default polls twice per sec.
Modified:
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollConsumer.java
Modified:
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollConsumer.java
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollConsumer.java?rev=731492&r1=731491&r2=731492&view=diff
==============================================================================
---
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollConsumer.java
(original)
+++
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollConsumer.java
Mon Jan 5 00:39:44 2009
@@ -58,8 +58,8 @@
* Invoked whenever we should be polled
*/
public void run() {
- if (LOG.isDebugEnabled()) {
- LOG.debug("Starting to poll: " + this.getEndpoint());
+ if (LOG.isTraceEnabled()) {
+ LOG.trace("Starting to poll: " + this.getEndpoint());
}
try {
if (isRunAllowed()) {