This is too bizarre for words. I have 2 completely separate programs, both of which use Serilog, like:
Log.Logger = new LoggerConfiguration ()
.MinimumLevel.Debug ()
.Filter.ByExcluding (e => e.MessageTemplate.Text.Contains ("Could not find file"))
.WriteTo.File ("testA-.log", rollingInterval: RollingInterval.Day, retainedFileCountLimit: 1, outputTemplate: template)
.CreateLogger ();
The 2nd program logs to "testB-.log". Now, the bizarre part is, that when program B logs to "testB-.log"... it winds up in "testA-.log" (Sic!). No shit. That's like Windows saying "Ony 1 program can use this dll at the time." LOL. What strange amalgamation is taking place here?!
N.B. These programs run via SHVDN: https://github.com/crosire/scripthookvdotnet/releases