mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Show the right config option when not forking.
This commit is contained in:
parent
3814a952a3
commit
d5fc385bf7
@ -217,7 +217,8 @@ void Log::Manager::OpenLogs(bool requiremethods)
|
||||
// If the server is started in debug mode we don't write logs.
|
||||
if (ServerInstance->Config->CommandLine.forcedebug)
|
||||
{
|
||||
Normal("LOG", "Not opening loggers because we were started with --(protocol)debug");
|
||||
const auto* option = ServerInstance->Config->CommandLine.forceprotodebug ? "--protocoldebug" : "--debug";
|
||||
Normal("LOG", "Not opening loggers because we were started with {}", option);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user