Update log level for some messages.

Fixes #5357
This commit is contained in:
Gunnar Beutner 2013-12-17 14:26:48 +01:00
parent 41d4ba169f
commit b2ec194a82
1 changed files with 4 additions and 4 deletions

View File

@ -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 */
}