serilog-extensions-logging-file icon indicating copy to clipboard operation
serilog-extensions-logging-file copied to clipboard

Add file logging to ASP.NET Core apps in one line of code.

Results 15 serilog-extensions-logging-file issues
Sort by recently updated
recently updated
newest added

My expectation is that a new file should be written if the size limit reaches the maximum. Instead log-messages are lost. I use the component in a asp core 2...

enhancement

I use `loggerFactory.AddFile(AppSettings.Configuration.GetSection("Logging:Serilog"));` in `Startup.Configure`, when `appsettings.json` file changed, i want update the settings of serilog. I use `ChangeToken.OnChange` for response the changing: ```c# ChangeToken.OnChange(() => AppSettings.Configuration.GetReloadToken(), env_ => {...

What's the `o`, what's the `u3`???

Hi, I noticed that placing the {Date} placeholder in the pathFormat argument of the AddFile() extension method will make the lib put the current date in the format "yyyyMMdd" into...

Hi, It seems that the change token handling isn't implemented in this extension. At least I couldn't find it in code and I found it while playing with it and...

up-for-grabs

Hi, I'm trying the extension, and it's working great, but I can't get Debug Levels logged. I've settled up the app.settings like this: ``` "Logging": { "PathFormat": "Logs/log-{Date}.txt", "LogLevel": {...

I'm using **Serilog.Extensions.Logging.File** nuget package **Version=2.0.0** in my AspNet Core 3.1 app. This is what I have in my Program.cs file: ``` public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureLogging((hostingContext,...

I tried to use this in a console application but found that if I logged and exited immediately then the log file was not flushed, there was no opportunity to...

bug

Hi, I was success output log file But I want add some line to log file I try add in code `Log.Logger.Information("Hello");` //global Log but in log file still don't...