Re: Change "recycled transaction log" from LOG to DEBUG1
От | Tom Lane |
---|---|
Тема | Re: Change "recycled transaction log" from LOG to DEBUG1 |
Дата | |
Msg-id | 4187.1094439931@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Change "recycled transaction log" from LOG to DEBUG1 (Christopher Kings-Lynne <chriskl@familyhealth.com.au>) |
Список | pgsql-patches |
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes: > May as well downgrade the CLOG message as well then. Agreed. I've applied the attached extended patch. regards, tom lane *** src/backend/access/transam/slru.c.orig Sun Aug 29 09:54:52 2004 --- src/backend/access/transam/slru.c Sun Sep 5 23:01:57 2004 *************** *** 944,950 **** if (doDeletions) { snprintf(path, MAXPGPATH, "%s/%s", ctl->Dir, clde->d_name); ! ereport(LOG, (errmsg("removing file \"%s\"", path))); unlink(path); } --- 944,950 ---- if (doDeletions) { snprintf(path, MAXPGPATH, "%s/%s", ctl->Dir, clde->d_name); ! ereport(DEBUG1, (errmsg("removing file \"%s\"", path))); unlink(path); } *** src/backend/access/transam/xlog.c.orig Sun Aug 29 22:57:29 2004 --- src/backend/access/transam/xlog.c Sun Sep 5 23:01:58 2004 *************** *** 2154,2167 **** true, XLOGfileslop, true)) { ! ereport(LOG, (errmsg("recycled transaction log file \"%s\"", xlde->d_name))); } else { /* No need for any more future segments... */ ! ereport(LOG, (errmsg("removing transaction log file \"%s\"", xlde->d_name))); unlink(path); --- 2154,2167 ---- true, XLOGfileslop, true)) { ! ereport(DEBUG1, (errmsg("recycled transaction log file \"%s\"", xlde->d_name))); } else { /* No need for any more future segments... */ ! ereport(DEBUG1, (errmsg("removing transaction log file \"%s\"", xlde->d_name))); unlink(path);
В списке pgsql-patches по дате отправления: