Change "recycled transaction log" from LOG to DEBUG1

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Change "recycled transaction log" from LOG to DEBUG1
Дата
Msg-id 648e0f9a39e40a26964f93cdc61bf81c@biglumber.com
обсуждение исходный текст
Ответы Re: Change "recycled transaction log" from LOG to DEBUG1
Список 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 по дате отправления:

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Minor psql consistency fixes
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Change "recycled transaction log" from LOG to DEBUG1