Description
WatchDog is a real-time logger and viewer for ASP.NET Core web apps and APIs. It records messages, events, HTTP requests and responses, and exceptions as they happen, so you can see what your application is doing while it runs. Real-time updates use SignalR. The default store is LiteDB, a serverless database that needs no configuration, and you can also send logs to an external database such as MSSQL, MySQL, PostgreSQL or MongoDB. The viewer has search for HTTP and exception logs, and it can filter HTTP logs by method and status code. The logger view can be protected with authentication. Logs can be cleared automatically after a set period, with a weekly schedule by default. Messages and events can also be logged from your own code. Installation uses the .NET CLI or the package manager. You add the WatchDog namespace and service in Startup.cs, then add the WatchDog middleware to the request pipeline. The readme says it supports .NET Core 3.1 and newer. A breaking change in version 1.4.0 renamed SqlDriverOption to DbDriverOption.…
Highlights
- Real-time HTTP request, response and exception logging
- In-code message and event logging
- Searchable viewer with method and status code filters
- Authentication for the logger view
- Automatic log clearing on a schedule
- LiteDB by default, or an external database
Ratings & Reviews
No ratings yet
Be the first to rate WatchDog.
People also visit
WatchDog FAQ
What is WatchDog?
A real-time logger and viewer for ASP.NET Core web apps and APIs. It shows messages, events, HTTP traffic and exceptions as they happen.
Which versions does it support?
ASP.NET Core 3.1 and newer, according to the readme.
Where are logs stored?
By default in LiteDB, which needs no configuration. You can also use MSSQL, MySQL, PostgreSQL or MongoDB.
How do I install it?
Install the package with the .NET CLI or the package manager, add the namespace and service in Startup.cs, and add the middleware to the request pipeline.
Can I protect the viewer?
Yes. The logger view supports authentication, and logs can be cleared automatically on a schedule.
What are the best WatchDog alternatives?
Popular alternatives to WatchDog include elmah.io, Fastapi Radar and Honeybadger. See all WatchDog alternatives

