]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
New logging implementation. Also write messages about InspIRCd::Log() being deprecate...
[user/henk/code/inspircd.git] / src / inspircd.cpp
index 29457ec9780a827c5f03c0b7589c725b4dc2505a..ef656cca9dcc8652c00ba8523b24bcce2caf9192 100644 (file)
@@ -103,9 +103,7 @@ void InspIRCd::Cleanup()
        }
 
        /* Close logging */
-       if (this->Logger)
-               this->Logger->Close();
-
+       // XXX we need to add a method to terminate all logstreams.
 
        /* Cleanup Server Names */
        for(servernamelist::iterator itr = servernames.begin(); itr != servernames.end(); ++itr)
@@ -182,8 +180,7 @@ void InspIRCd::RehashUsersAndChans()
 
 void InspIRCd::CloseLog()
 {
-       if (this->Logger)
-               this->Logger->Close();
+       // XXX add a method to terminate all logstreams.
 }
 
 void InspIRCd::SetSignals()