From af4e3e5e1c9447f1e28518e5bf25cabb9f506879 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Thu, 24 Aug 2023 09:56:48 -0700 Subject: [PATCH] Remove personally-identifiable file paths from client logs (#4267) --- Robust.Shared/Configuration/ConfigurationManager.cs | 2 +- Robust.Shared/ContentPack/AssemblyTypeChecker.cs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Robust.Shared/Configuration/ConfigurationManager.cs b/Robust.Shared/Configuration/ConfigurationManager.cs index 5fd697503..f3aaa3fc9 100644 --- a/Robust.Shared/Configuration/ConfigurationManager.cs +++ b/Robust.Shared/Configuration/ConfigurationManager.cs @@ -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) diff --git a/Robust.Shared/ContentPack/AssemblyTypeChecker.cs b/Robust.Shared/ContentPack/AssemblyTypeChecker.cs index bca942095..2aea4e02e 100644 --- a/Robust.Shared/ContentPack/AssemblyTypeChecker.cs +++ b/Robust.Shared/ContentPack/AssemblyTypeChecker.cs @@ -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)