Skip to content

Data Analysis

How To use AppSettings for a Production Ready Configuration of Serilog

For all the examples I showed you so far I wrote the configuration for Serilog directly in the code. That worked very well and only took a few lines of calls to the fluent API. This approach is great for a demo or a simple little application that doesn't need to change.

In a more realistic setting your production is separated from your test environment. Not only are the servers different, but you need a different configuration as well. But changing the configuration in this case means recompile your application. A better way is the topic of today’s post.

How to Analyse SharePoint Log Files

One thing that you notice instantly when you ever try to figure out what goes on in a SharePoint instance is the unbelievable amount of log messages that are written. Even when no user is on your site, SharePoint itself has so many things going on that a constant stream of messages is created.

How To Analyse IIS Log Files

Every request made to a web application running on IIS is logged. Not only will the page that was requested be registered, but a lot of additional information like the user agent, the client IP address and if the request resulted in an error.