mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Fix wrong filename used when log.enabled is set (#5541)
This commit is contained in:
@@ -223,10 +223,10 @@ namespace Robust.Server
|
||||
|
||||
if (!Path.IsPathRooted(fullPath))
|
||||
{
|
||||
logPath = PathHelpers.ExecutableRelativeFile(fullPath);
|
||||
fullPath = PathHelpers.ExecutableRelativeFile(fullPath);
|
||||
}
|
||||
|
||||
logHandler = new FileLogHandler(logPath);
|
||||
logHandler = new FileLogHandler(fullPath);
|
||||
}
|
||||
|
||||
_log.RootSawmill.Level = _config.GetCVar(CVars.LogLevel);
|
||||
|
||||
Reference in New Issue
Block a user