Remove personally-identifiable file paths from client logs (#4267)

This commit is contained in:
Kevin Zheng
2023-08-24 09:56:48 -07:00
committed by GitHub
parent d51a18c6ea
commit af4e3e5e1c
2 changed files with 1 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ namespace Robust.Shared.Configuration
using var file = File.OpenRead(configFile);
var result = LoadFromTomlStream(file);
_configFile = configFile;
_sawmill.Info($"Configuration Loaded from '{Path.GetFullPath(configFile)}'");
_sawmill.Info($"Configuration loaded from file");
return result;
}
catch (Exception e)

View File

@@ -71,12 +71,9 @@ namespace Robust.Shared.ContentPack
}
else
{
_sawmill.Debug("Robust directory is {0}", ourPath);
loadDirs.Add(Path.GetDirectoryName(ourPath)!);
}
_sawmill.Debug(".NET runtime directory is {0}", dotnetDir);
if (EngineModuleDirectories != null)
{
foreach (var moduleDir in EngineModuleDirectories)