Closed pampua84 closed 1 year ago
Hi, @pampua84 . A minimum repro is appreciated.
Hi, @sungam3r I don't understand what you mean. Could you explain better please?
I mean posting either unit test or other runnable code to demonstrate an issue.
I updated the Serilog package and the problem no longer occurs
Hi, I'm trying to use an environment variable in the appsettings.json to set the base path ("BASEDIR") for writing logs like below:
and in code:
Environment.SetEnvironmentVariable("BASEDIR", AppDomain.CurrentDomain.BaseDirectory);
upgrading the package to the latest version this thing seems to no longer work, while everything worked fine before, in fact while before I had the logs folder in the bin\Debug\net7.0 folder, now the %BASEDIR% folder appears in the main project folder.