]> granicus.if.org Git - postgresql/commitdiff
Downgrade LOG messages to DEBUG1 for normal recycling of xlog, clog,
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Sep 2004 03:04:27 +0000 (03:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Sep 2004 03:04:27 +0000 (03:04 +0000)
subtrans segments.  Per Greg Mullane and Chris K-L.

src/backend/access/transam/slru.c
src/backend/access/transam/xlog.c

index c87b38a79228120b89600c81addc05fb2f4655a3..58fbf872a17f60d39d28f5438bae8e8f5368d887 100644 (file)
@@ -48,7 +48,7 @@
  * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.21 2004/08/29 05:06:40 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.22 2004/09/06 03:04:27 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -944,7 +944,7 @@ SlruScanDirectory(SlruCtl ctl, int cutoffPage, bool doDeletions)
                                if (doDeletions)
                                {
                                        snprintf(path, MAXPGPATH, "%s/%s", ctl->Dir, clde->d_name);
-                                       ereport(LOG,
+                                       ereport(DEBUG1,
                                                        (errmsg("removing file \"%s\"", path)));
                                        unlink(path);
                                }
index f05e083066342a46333fb8ae7892b9c3acfa201a..0e27ba319a12de6073afe58bcfb6263182bb4f96 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.168 2004/08/30 02:54:38 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.169 2004/09/06 03:04:27 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -2154,14 +2154,14 @@ MoveOfflineLogs(uint32 log, uint32 seg, XLogRecPtr endptr)
                                                                                   true, XLOGfileslop,
                                                                                   true))
                                {
-                                       ereport(LOG,
+                                       ereport(DEBUG1,
                                                  (errmsg("recycled transaction log file \"%s\"",
                                                                  xlde->d_name)));
                                }
                                else
                                {
                                        /* No need for any more future segments... */
-                                       ereport(LOG,
+                                       ereport(DEBUG1,
                                                  (errmsg("removing transaction log file \"%s\"",
                                                                  xlde->d_name)));
                                        unlink(path);