Tag Archives: logging

Seq dashboard

We’re using seq for logging the completion of an import. To monitor the progress of importing a lot of file we’ve created a dashboard in seq. The log entries are identified by having a property (uuid) and a date / … Continue reading

Posted in Development | Tagged , , | Leave a comment

Seq

Seq creates the visibility you need to quickly identify and diagnose problems in complex applications and microservices. Empower your team to build better software by centralizing, searching, and alerting on structured application logs. https://getseq.net Image source https://getseq.net Every project we … Continue reading

Posted in Development, Tooling | Tagged , , | Leave a comment

Serilog

Image courtesy of Ricardo Gomez Angel / unsplash.com https://www.nuget.org/packages/serilog With Serilog we can log with named properties. The advantage is that processing of the log(file) is no longer needed as it is already structured. You can stil output plain text … Continue reading

Posted in Development, Tooling | Tagged , , | Leave a comment

Log levels explained

I’m always struggling with the method/level to use when logging from my application. In his Modern Structured Logging With Serilog and Seq pluralsight course Jason Roberts explains it this way: Level Explain Example Verbose how technical “calculated hash {hash} for … Continue reading

Posted in Development | Tagged , | Leave a comment

Common.Logging

Image courtesy of Ales Krivec / unsplash.com https://www.nuget.org/packages/Common.Logging/ Common.logging provides an abstraction for the logging framework of choice. For IoC the common.logging offers an interface. NoOpLogger is a fake implementation used for unit testing. I prefer to use the nuget from log4net with … Continue reading

Posted in Development, Tooling | Tagged , , , , , | Leave a comment

Setup logging in configuration with powershell

Manipulation of config files with notepad is a burden for every developer / operator. It is the source of many errors. With DEVOPS we try to automate this process. The result is less prone to errors. See the powershell script … Continue reading

Posted in Tooling | Tagged , , , , , | Leave a comment

Add tracelistener with powershell

In our deployment script we automate the installation and configuration of our product. For Development and Test environment we want to log everything to a file. The powershell script below takes care of adding TextWriterTraceListener to the trace listeners. The … Continue reading

Posted in Development | Tagged , , | Leave a comment