]> granicus.if.org Git - postgresql/commitdiff
Downgrade a status message from LOG to DEBUG2.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 4 Dec 2012 15:29:44 +0000 (17:29 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 4 Dec 2012 15:29:44 +0000 (17:29 +0200)
I never intended this to be anything other than a debugging aid, but forgot
to change the level before committing.

src/backend/access/transam/xlog.c

index d60c2a3bfc5bcf0e464a86511b48cd3f1a2ca9cf..5a97edf50fcb727e84d276bf2320ee0e2d0f7de5 100644 (file)
@@ -9636,7 +9636,7 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
                }
 
                if (currentSource != oldSource)
-                       elog(LOG, "switched WAL source from %s to %s after %s",
+                       elog(DEBUG2, "switched WAL source from %s to %s after %s",
                                 xlogSourceNames[oldSource], xlogSourceNames[currentSource],
                                 lastSourceFailed ? "failure" : "success");