summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-11 17:37:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-11 17:37:56 +0000
commit5a3fe7e53da9299a1d6ae0698d364b653770baad (patch)
tree0e11504420c821db0f13fee9d30547a8ee773367
parentfa9eea07bbde561237e6761d613fcbad73dc4b43 (diff)
A few lines here are loglevel DEFAULT and should be DEBUG.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5696 e03df62e-2008-0410-955e-edbf42e46eb7
-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;
}