]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Slight change to traffic logging, as I never remember which way the damn arrows go...
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 28 Aug 2007 14:12:49 +0000 (14:12 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 28 Aug 2007 14:12:49 +0000 (14:12 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7948 e03df62e-2008-0410-955e-edbf42e46eb7

src/command_parse.cpp
src/modules/m_spanningtree/treesocket2.cpp
src/users.cpp

index e0085f9d7b3f1d91d22bf4da9abd6908bf07590a..c273e0859cef1cb4dfcc7ca3871279613f8a72ef 100644 (file)
@@ -425,7 +425,7 @@ void CommandParser::ProcessBuffer(std::string &buffer,userrec *user)
        {
                if (!user->muted)
                {
-                       ServerInstance->Log(DEBUG,"C[%d] -> :%s %s",user->GetFd(), user->nick, buffer.c_str());
+                       ServerInstance->Log(DEBUG,"C[%d] I :%s %s",user->GetFd(), user->nick, buffer.c_str());
                        this->ProcessCommand(user,buffer);
                }
        }
index 33764c015621581a6ead457d24c573ab0742bf0a..17477a0169edd4fc01a5ab48082f7886cb4f293d 100644 (file)
@@ -34,7 +34,7 @@ static std::map<std::string, std::string> warned;       /* Server names that hav
 
 int TreeSocket::WriteLine(std::string line)
 {
-       Instance->Log(DEBUG, "S[%d] -> %s", this->GetFd(), line.c_str());
+       Instance->Log(DEBUG, "S[%d] O %s", this->GetFd(), line.c_str());
        line.append("\r\n");
        return this->Write(line);
 }
@@ -1011,7 +1011,7 @@ bool TreeSocket::ProcessLine(std::string &line)
        if (line.empty())
                return true;
 
-       Instance->Log(DEBUG, "S[%d] <- %s", this->GetFd(), line.c_str());
+       Instance->Log(DEBUG, "S[%d] I %s", this->GetFd(), line.c_str());
 
        this->Split(line.c_str(),params);
        
index 4856ebc388f6f2cd5d87b8b828a77d0abcae6ca5..06aba8fca59bc4e8138a107bed4a2335af8fbb93 100644 (file)
@@ -1384,7 +1384,7 @@ void userrec::Write(std::string text)
 
        try
        {
-               /* ServerInstance->Log(DEBUG,"C[%d] <- %s", this->GetFd(), text.c_str());
+               /* ServerInstance->Log(DEBUG,"C[%d] O %s", this->GetFd(), text.c_str());
                 * WARNING: The above debug line is VERY loud, do NOT
                 * enable it till we have a good way of filtering it
                 * out of the logs (e.g. 1.2 would be good).