IdentityServer3.Admin icon indicating copy to clipboard operation
IdentityServer3.Admin copied to clipboard

Tracing/Logging not showing all the interesting messages

Open naymore opened this issue 9 years ago • 0 comments

With my Startup.cs looking like this:

public void Configuration(IAppBuilder app)
{
    Log.Logger = new LoggerConfiguration()
        .MinimumLevel.Verbose()
        .WriteTo.RollingFile("C:\temp\trace-{Date}.log")
        .CreateLogger();

    //Serilog.Debugging.SelfLog.Enable((msg) => System.Diagnostics.Debug.WriteLine(msg));

    ConfigureIdentityAdminApplication(app);
}

I only receive the following log messages:

2016-12-30 13:04:40.593 +01:00 [Information] Starting IdentityAdmin configuration
2016-12-30 13:04:43.798 +01:00 [Information] User is authenticated from Cookies; issuing challenge
2016-12-30 13:04:45.101 +01:00 [Information] User is authenticated from Cookies

whereas while I have my debugger attached I see tons of liblog messages I would like to have in my logfile as well.

naymore avatar Dec 30 '16 12:12 naymore