Change "recycled transaction log" from LOG to DEBUG1 - Mailing list pgsql-patches

From Greg Sabino Mullane
Subject Change "recycled transaction log" from LOG to DEBUG1
Date
Msg-id 648e0f9a39e40a26964f93cdc61bf81c@biglumber.com
Whole thread Raw
Responses Re: Change "recycled transaction log" from LOG to DEBUG1
List 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@turnstep.com
PGP Key: 0x14964AC8 200409051137

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

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



pgsql-patches by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Minor psql consistency fixes
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Change "recycled transaction log" from LOG to DEBUG1