chore: remove some unnecessary logging

This commit is contained in:
goaaats 2022-06-03 17:46:35 +02:00
parent 7d49ebfc3c
commit f61ffcae92
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
2 changed files with 1 additions and 4 deletions

View file

@ -79,7 +79,6 @@ namespace Dalamud.Injector
}; };
var compatLayerPrev = Environment.GetEnvironmentVariable("__COMPAT_LAYER"); var compatLayerPrev = Environment.GetEnvironmentVariable("__COMPAT_LAYER");
Log.Verbose("Has preset __COMPAT_LAYER={CompatLayer}", compatLayerPrev);
if (!string.IsNullOrEmpty(compatLayerPrev) && !compatLayerPrev.Contains("RunAsInvoker")) if (!string.IsNullOrEmpty(compatLayerPrev) && !compatLayerPrev.Contains("RunAsInvoker"))
{ {
@ -92,8 +91,6 @@ namespace Dalamud.Injector
try try
{ {
Log.Information("Starting with __COMPAT_LAYER={CompatLayer}", Environment.GetEnvironmentVariable("__COMPAT_LAYER"));
if (!PInvoke.CreateProcess( if (!PInvoke.CreateProcess(
null, null,
$"\"{exePath}\" {arguments}", $"\"{exePath}\" {arguments}",

View file

@ -65,7 +65,7 @@ namespace Dalamud.Game
// }; // };
private readonly Regex rmtRegex = new( private readonly Regex rmtRegex = new(
@"4KGOLD|We have sufficient stock|VPK\.OM|Gil for free|www\.so9\.com|Fast & Convenient|Cheap & Safety Guarantee|【Code|A O A U E|igfans|4KGOLD\.COM|Cheapest Gil with|pvp and bank on google|Selling Cheap GIL|ff14mogstation\.com|Cheap Gil 1000k|gilsforyou|server 1000K =|gils_selling|E A S Y\.C O M|bonus code|mins delivery guarantee|Sell cheap|Salegm\.com|cheap Mog|Off Code:|FF14Mog.com|使用する5オ|Off Code( *):|offers Fantasia", @"4KGOLD|We have sufficient stock|VPK\.OM|[Gg]il for free|[Gg]il [Cc]heap|5GOLD|www\.so9\.com|Fast & Convenient|Cheap & Safety Guarantee|【Code|A O A U E|igfans|4KGOLD\.COM|Cheapest Gil with|pvp and bank on google|Selling Cheap GIL|ff14mogstation\.com|Cheap Gil 1000k|gilsforyou|server 1000K =|gils_selling|E A S Y\.C O M|bonus code|mins delivery guarantee|Sell cheap|Salegm\.com|cheap Mog|Off Code:|FF14Mog.com|使用する5オ|[Oo][Ff][Ff] [Cc]ode( *)[:;]|offers Fantasia",
RegexOptions.Compiled); RegexOptions.Compiled);
private readonly Dictionary<ClientLanguage, Regex[]> retainerSaleRegexes = new() private readonly Dictionary<ClientLanguage, Regex[]> retainerSaleRegexes = new()