From b2ec194a82729d7cdb45c87a3cc627baac15508a Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 17 Dec 2013 14:26:48 +0100 Subject: [PATCH] Update log level for some messages. Fixes #5357 --- lib/base/application.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/base/application.cpp b/lib/base/application.cpp index 742384d55..67e8ad3d9 100644 --- a/lib/base/application.cpp +++ b/lib/base/application.cpp @@ -121,9 +121,9 @@ void Application::SetResourceLimits(void) rl.rlim_max = rl.rlim_cur; if (setrlimit(RLIMIT_NOFILE, &rl) < 0) - Log(LogCritical, "base", "Could not adjust resource limit for open file handles (RLIMIT_NOFILE)"); + Log(LogDebug, "base", "Could not adjust resource limit for open file handles (RLIMIT_NOFILE)"); # else /* RLIMIT_NOFILE */ - Log(LogCritical, "base", "System does not support adjusting the resource limit for open file handles (RLIMIT_NOFILE)"); + Log(LogDebug, "base", "System does not support adjusting the resource limit for open file handles (RLIMIT_NOFILE)"); # endif /* RLIMIT_NOFILE */ # ifdef RLIMIT_NPROC @@ -131,9 +131,9 @@ void Application::SetResourceLimits(void) rl.rlim_max = rl.rlim_cur; if (setrlimit(RLIMIT_NPROC, &rl) < 0) - Log(LogCritical, "base", "Could not adjust resource limit for number of processes (RLIMIT_NPROC)"); + Log(LogDebug, "base", "Could not adjust resource limit for number of processes (RLIMIT_NPROC)"); # else /* RLIMIT_NPROC */ - Log(LogCritical, "base", "System does not support adjusting the resource limit for number of processes (RLIMIT_NPROC)"); + Log(LogDebug, "base", "System does not support adjusting the resource limit for number of processes (RLIMIT_NPROC)"); # endif /* RLIMIT_NPROC */ #endif /* _WIN32 */ }