From 9e04e156b549daf39b94fd76df8d59fe99e5dd06 Mon Sep 17 00:00:00 2001 From: Dimitrios Siganos Date: Tue, 27 Apr 2021 16:50:13 +0100 Subject: [PATCH] Remove printing of log to stderr (file descriptor limit too low) The log is: "WARNING: The file descriptor limit on this system may be too low (1024) and should be increased to at least 16384." The log continues to be written to the log file. --- nano/nano_node/daemon.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/nano/nano_node/daemon.cpp b/nano/nano_node/daemon.cpp index eb58015f..f172473b 100644 --- a/nano/nano_node/daemon.cpp +++ b/nano/nano_node/daemon.cpp @@ -61,7 +61,6 @@ void nano_daemon::daemon::run (boost::filesystem::path const & data_path, nano:: if (fd_limit < fd_limit_recommended_minimum) { auto low_fd_text = boost::str (boost::format ("WARNING: The file descriptor limit on this system may be too low (%1%) and should be increased to at least %2%.") % fd_limit % fd_limit_recommended_minimum); - std::cerr << low_fd_text << std::endl; logger.always_log (low_fd_text); }