C# 8 and .NET Core 3 Projects Using Azure - Second Edition
by Paul Michaels, Dirk Strauss, Jas Rademeyer
Logging
Before we progress any further, we should consider logging. Using a single application, logging is quite an easy process – you log everything to a log file (typically located on the server) and, since all the calls are to services on that single server, everything is logged in one place. Among other problems that we create when moving to microservices, we create one of logging. Exactly which service is logging, and where is it logging to? In a container system, you can't simply log to the local filesystem because it's not necessarily persisted.
It is far beyond the scope of this chapter to create an aggregated logging system; however, should you wish to do so, I would strongly suggest that you look at some of the offerings from the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access