diffix / explorer

Tool to automatically explore and generate stats on data anonymized using Diffix
MIT License
2 stars 1 forks source link

Add timestamp to logs #256

Closed sebastian closed 4 years ago

sebastian commented 4 years ago

Currently you can't really tell when a log entry was made. This makes it difficult to find the right place in the log if you are looking for something happening at around a certain time.

dandanlen commented 4 years ago

This (or similar) looks like it should work:

.AddLogging(opt =>
     {
         opt.AddConsole(c =>
         {
            c.TimestampFormat = "[HH:mm:ss] ";
         });
    })
sebastian commented 4 years ago

Please include the date too.