summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/socketengine_epoll.cpp6
-rw-r--r--src/socketengine_kqueue.cpp6
-rw-r--r--src/socketengine_select.cpp4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/socketengine_epoll.cpp b/src/socketengine_epoll.cpp
index 54d6ff7c1..7107511bd 100644
--- a/src/socketengine_epoll.cpp
+++ b/src/socketengine_epoll.cpp
@@ -43,17 +43,17 @@ bool EPollEngine::AddFd(EventHandler* eh)
int fd = eh->GetFd();
if ((fd < 0) || (fd > MAX_DESCRIPTORS))
{
- ServerInstance->Log(DEFAULT,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
+ ServerInstance->Log(DEBUG,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
return false;
}
if (GetRemainingFds() <= 1)
{
- ServerInstance->Log(DEFAULT,"ERROR: System out of file descriptors!");
+ ServerInstance->Log(DEBUG,"ERROR: System out of file descriptors!");
return false;
}
if (ref[fd])
{
- ServerInstance->Log(DEFAULT,"Slot %d already occupied",fd);
+ ServerInstance->Log(DEBUG,"Slot %d already occupied",fd);
return false;
}
diff --git a/src/socketengine_kqueue.cpp b/src/socketengine_kqueue.cpp
index b3605b82b..cad88d393 100644
--- a/src/socketengine_kqueue.cpp
+++ b/src/socketengine_kqueue.cpp
@@ -49,18 +49,18 @@ bool KQueueEngine::AddFd(EventHandler* eh)
if ((fd < 0) || (fd > MAX_DESCRIPTORS))
{
- ServerInstance->Log(DEFAULT,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
+ ServerInstance->Log(DEBUG,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
return false;
}
if (GetRemainingFds() <= 1)
{
- ServerInstance->Log(DEFAULT,"ERROR: System out of file descriptors!");
+ ServerInstance->Log(DEBUG,"ERROR: System out of file descriptors!");
return false;
}
if (ref[fd])
{
- ServerInstance->Log(DEFAULT,"ERROR: Slot already occupied");
+ ServerInstance->Log(DEBUG,"ERROR: Slot already occupied");
return false;
}
diff --git a/src/socketengine_select.cpp b/src/socketengine_select.cpp
index abc1b953b..19a2ec882 100644
--- a/src/socketengine_select.cpp
+++ b/src/socketengine_select.cpp
@@ -37,12 +37,12 @@ bool SelectEngine::AddFd(EventHandler* eh)
int fd = eh->GetFd();
if ((fd < 0) || (fd > MAX_DESCRIPTORS))
{
- ServerInstance->Log(DEFAULT,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
+ ServerInstance->Log(DEBUG,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
return false;
}
if (GetRemainingFds() <= 1)
{
- ServerInstance->Log(DEFAULT,"ERROR: System out of file descriptors!");
+ ServerInstance->Log(DEBUG,"ERROR: System out of file descriptors!");
return false;
}