Skip to content

Commit

Permalink
Switch to error log instead
Browse files Browse the repository at this point in the history
Signed-off-by: Kateryna Nezdolii <kateryna.nezdolii@gmail.com>
  • Loading branch information
nezdolik committed May 27, 2024
1 parent bd439bc commit 03989b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/common/memory/stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ AllocatorManager::AllocatorManager(
api_(api) {
#if defined(GPERFTOOLS_TCMALLOC)
if (bytes_to_release_ > 0) {
throw Envoy::EnvoyException("Memory releasing is not supported for gperf tcmalloc.");
ENVOY_LOG(error, "Memory releasing is not supported for gperf tcmalloc, no memory releasing "
"will be configured.");
}
#elif defined(TCMALLOC)
configureBackgroundMemoryRelease();
Expand Down

0 comments on commit 03989b7

Please sign in to comment.