There's no really good reason why the autovacuum launcher and logical
replication launcher should announce themselves at startup and shutdown
by default. Users don't care that those processes exist, and it's
inconsistent that those background processes announce themselves while
others don't. So, reduce those messages from LOG to DEBUG1 level.
I was sorely tempted to reduce the "starting logical replication worker
for subscription ..." message to DEBUG1 as well, but forebore for now.
Those processes might possibly be of direct interest to users, at least
until logical replication is a lot better shaken out than it is today.
Discussion: https://postgr.es/m/19479.
1489121003@sss.pgh.pa.us
/* Identify myself via ps */
init_ps_display("autovacuum launcher process", "", "", "");
- ereport(LOG,
+ ereport(DEBUG1,
(errmsg("autovacuum launcher started")));
if (PostAuthDelay)
/* Normal exit from the autovac launcher is here */
shutdown:
- ereport(LOG,
+ ereport(DEBUG1,
(errmsg("autovacuum launcher shutting down")));
AutoVacuumShmem->av_launcherpid = 0;
void
ApplyLauncherMain(Datum main_arg)
{
- ereport(LOG,
+ ereport(DEBUG1,
(errmsg("logical replication launcher started")));
/* Establish signal handlers. */
LogicalRepCtx->launcher_pid = 0;
/* ... and if it returns, we're done */
- ereport(LOG,
+ ereport(DEBUG1,
(errmsg("logical replication launcher shutting down")));
proc_exit(0);