From cbcd51cb7f488bfa1086d60047ccd64b38593d0f Mon Sep 17 00:00:00 2001 From: aquanight Date: Sun, 24 Feb 2008 17:48:23 +0000 Subject: [PATCH] Put log-switching back into configreader git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9023 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/configreader.cpp b/src/configreader.cpp index 12e33ad34..ef12dda64 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1158,6 +1158,10 @@ void ServerConfig::Read(bool bail, User* user) ServerInstance->Log(DEFAULT,"Done reading configuration file."); + /* Switch over logfiles */ + ServerInstance->Logs->CloseLogs(); + ServerInstance->Logs->OpenFileLogs(); + /* If we're rehashing, let's load any new modules, and unload old ones */ if (!bail) -- 2.39.5