From: Pavan Deolasee Date: Wed, 9 Dec 2015 07:04:57 +0000 (+0530) Subject: Reduce logging level for couple of messages X-Git-Tag: XL9_5_R1BETA1~133 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=1e0c4f448331ef92460d42ea71c3a28c42a18ed3;p=postgres-xl.git Reduce logging level for couple of messages --- diff --git a/src/backend/executor/producerReceiver.c b/src/backend/executor/producerReceiver.c index 401a8349b7..b2d22e07d9 100644 --- a/src/backend/executor/producerReceiver.c +++ b/src/backend/executor/producerReceiver.c @@ -144,7 +144,7 @@ producerDestroyReceiver(DestReceiver *self) { ProducerState *myState = (ProducerState *) self; - elog(LOG, "Producer stats: total %ld tuples, %ld tuples to self, %ld to other nodes", + elog(DEBUG2, "Producer stats: total %ld tuples, %ld tuples to self, %ld to other nodes", myState->tcount, myState->selfcount, myState->othercount); if (myState->consumer) diff --git a/src/backend/pgxc/squeue/squeue.c b/src/backend/pgxc/squeue/squeue.c index 74cdccaaf3..3d9b9100cf 100644 --- a/src/backend/pgxc/squeue/squeue.c +++ b/src/backend/pgxc/squeue/squeue.c @@ -1250,7 +1250,7 @@ CHECK: #ifdef SQUEUE_STAT elog(DEBUG1, "Producer %s is done, there were %ld pauses", squeue->sq_key, squeue->stat_paused); #endif - elog(LOG, "Producer %s is done", squeue->sq_key); + elog(DEBUG1, "Producer %s is done", squeue->sq_key); LWLockAcquire(SQueuesLock, LW_EXCLUSIVE);