The first step when troubleshooting any issue with Serilog is to turn on the SelfLog
and see if there are any exceptions being caught. The error messages might give you a clue of what's the problem.
Serilog.Debugging.SelfLog.Enable(s => Console.WriteLine($"Internal Error with Serilog: {s}"));
Alternatively, if you didn't have a Console Window, you could also use a Notepad window to inspect the SelfLog.
Anyway, are the machines where it doesn't work running Windows? I ask because looking at your code, I wouldn't expect it to work on Windows because you're saving the file with :
(colon) in the name which is not a valid character for file names in Windows.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…