summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index b33f65ac4..bc1dd3253 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -51,6 +51,10 @@
*
*/
+const char LogStream::LogHeader[] =
+ "Log started for " VERSION " (" REVISION ", " MODULE_INIT_STR ")"
+ " - compiled on " SYSTEM;
+
LogManager::LogManager()
{
Logging = false;
@@ -126,7 +130,7 @@ void LogManager::OpenFileLogs()
fw = fwi->second;
}
FileLogStream* fls = new FileLogStream(loglevel, fw);
- fls->OnLog(LOG_SPARSE, "HEADER", InspIRCd::LogHeader);
+ fls->OnLog(LOG_SPARSE, "HEADER", LogStream::LogHeader);
AddLogTypes(type, fls, true);
}
}