Nicholas Blumhardt
Nicholas Blumhardt
Thanks for the heads-up. I can definitely see the limitations in the default policy. It would be cool to see a sketch of something like `SinkPool`, especially if it meant...
Closing this one as stale, though contributions in this area are still welcome if anyone's keen.
Hi! For now I think allowing synchronous IO will be the quickest way to go, but support for async reads in this library would be a great addition. Marked as...
@Blaisor please go ahead 👍
Hi @warrenbuckley 👋 Unlike Seq, this library uses `DateTime`/`DateTimeOffset` at runtime (instead of 100-nanosecond ticks), so numeric comparisons like `>=` don't work with these values. A quick way to enable...
Related: https://github.com/nblumhardt/serilog-reload
Hi Christopher-Marcel; the aim currently is to get as close to zero-overhead as possible once the logger is "frozen" - mapping closely to how the ASP.NET Core framework is first...
You can use environment variables in _Serilog.Settings.AppSettings_ values, so if you call `System.Environment.SetEnvironmentVariable("APPNAME", "Test")` at start-up, before reading from configuration, you can use `%APPNAME%` in the configured file path. HTH!
Thanks for the reply. The same kinds of issues apply to the log4net version, don't they? I can guess that in some *nix environments `SetEnvironmentVariable()` might be restricted, but I...
I'm not sure we're on the same page; by definition, wouldn't `log4net.globalContext.properties["appname"] = "App1"` also overwrite earlier values?