projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f4de0
)
Downgrade a status message from LOG to DEBUG2.
author
Heikki Linnakangas
Tue, 4 Dec 2012 15:29:44 +0000
(17:29 +0200)
committer
Heikki Linnakangas
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index d60c2a3bfc5bcf0e464a86511b48cd3f1a2ca9cf..5a97edf50fcb727e84d276bf2320ee0e2d0f7de5 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-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");