Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit afab814

Browse files
committed
Change log message about vacuuming database name from LOG to DEBUG1.
Prevents duplicate meaningless log messsages.
1 parent 87f00a4 commit afab814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/postmaster/autovacuum.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.16 2006/04/06 20:38:00 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.17 2006/04/27 15:57:10 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -412,7 +412,7 @@ AutoVacMain(int argc, char *argv[])
412412
InitPostgres(db->name, NULL);
413413
SetProcessingMode(NormalProcessing);
414414
set_ps_display(db->name);
415-
ereport(LOG,
415+
ereport(DEBUG1,
416416
(errmsg("autovacuum: processing database \"%s\"", db->name)));
417417

418418
/* Create the memory context where cross-transaction state is stored */

0 commit comments

Comments
 (0)