Change "recycled transaction log" from LOG to DEBUG1

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Change "recycled transaction log" from LOG to DEBUG1
Date: 2004-09-05 15:39:01
Message-ID: 648e0f9a39e40a26964f93cdc61bf81c@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message


On August 9, Tom Lane wrote regarding "recycled transaction log file"
messages appearing in the server logs:

> This is normal behavior. At some point we'll probably knock down the
> priority of those messages from LOG to DEBUG...

I'm all for it, for I am tired of seeing those messages in my logs
as well. I'd make a link to Tom's original post, but once again
archives.postgresql.org is not working.

Index: xlog.c
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/backend/access/transam/xlog.c,v
retrieving revision 1.168
diff -c -r1.168 xlog.c
*** xlog.c 30 Aug 2004 02:54:38 -0000 1.168
--- xlog.c 5 Sep 2004 15:26:43 -0000
***************
*** 2154,2160 ****
true, XLOGfileslop,
true))
{
! ereport(LOG,
(errmsg("recycled transaction log file \"%s\"",
xlde->d_name)));
}
--- 2154,2160 ----
true, XLOGfileslop,
true))
{
! ereport(DEBUG1,
(errmsg("recycled transaction log file \"%s\"",
xlde->d_name)));
}




--
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200409051137

-----BEGIN PGP SIGNATURE-----

iD8DBQFBOzNBvJuQZxSWSsgRApOvAKCPoVcSR29wft9RIxk4bi3R5SkahQCg0yKr
ISROl8QXPuh8g16O+zRCeus=
=dFk7
-----END PGP SIGNATURE-----

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Greg Sabino Mullane 2004-09-05 16:09:40 Minor psql consistency fixes
Previous Message ssinger 2004-09-04 15:59:48 contrib/dbmirror