From fbd37740c553fe797d0ff651d222d5863fc20f91 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Fri, 30 Jun 2023 21:55:56 +0300 Subject: [PATCH] Make file_cache logging less verbose (#4601) ## Problem Message "set local file cache limit to..." polutes compute logs. ## Summary of changes ## Checklist before requesting a review - [ ] I have performed a self-review of my code. - [ ] If it is a core feature, I have added thorough tests. - [ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard? - [ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section. ## Checklist before merging - [ ] Do not forget to reformat commit message to not include the above checklist Co-authored-by: Konstantin Knizhnik --- pgxn/neon/file_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgxn/neon/file_cache.c b/pgxn/neon/file_cache.c index 1ab2ae668a..02795bc8b8 100644 --- a/pgxn/neon/file_cache.c +++ b/pgxn/neon/file_cache.c @@ -190,7 +190,7 @@ lfc_change_limit_hook(int newval, void *extra) hash_search(lfc_hash, &victim->key, HASH_REMOVE, NULL); lfc_ctl->used -= 1; } - elog(LOG, "set local file cache limit to %d", new_size); + elog(DEBUG1, "set local file cache limit to %d", new_size); LWLockRelease(lfc_lock); }