aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-08-11 12:39:49 +0100
committerGravatar Sadie Powell2023-08-11 12:39:49 +0100
commitf73e9e606b61324f4ac34d3f506b7cbaf87713c7 (patch)
tree1ca0ac7ed371483bd1d9a3fbec3959af61067dbb /src/configreader.cpp
parentMake the linkdata host/unix cloaks longer to test suffix truncation. (diff)
Rename the error log level to critical.
"ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 1fb12dc0d..098753555 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -739,7 +739,7 @@ void ConfigReaderThread::OnStop()
}
catch (const CoreException& modex)
{
- ServerInstance->Logs.Error("MODULE", "Unable to read the configuration for {}: {}",
+ ServerInstance->Logs.Critical("MODULE", "Unable to read the configuration for {}: {}",
mod->ModuleSourceFile, modex.what());
if (user)
user->WriteNotice(modname + ": " + modex.GetReason());
@@ -756,7 +756,7 @@ void ConfigReaderThread::OnStop()
}
catch (const CoreException& ex)
{
- ServerInstance->Logs.Error("LOG", "Cannot open log files: " + ex.GetReason());
+ ServerInstance->Logs.Critical("LOG", "Cannot open log files: " + ex.GetReason());
if (user)
user->WriteNotice("Cannot open log files: " + ex.GetReason());
}