|
|
|
|
|
by perpil
998 days ago
|
|
I was recently musing about the 2 different types of logs: 1. application logs, emitted multiple times per request and serve as breadcrumbs 2. request logs emitted once per request and include latencies, counters and metadata about the request and response The application logs were useless to me except during development. However the request logs I could run aggregations on which made them far more useful for answering questions. What the author explains very well is that the problem with application logs is they aren't very human-readable which is where visualizing a request with tracing shines. If you don't have tracing, creating request logs will get you most of the way there, it's certainly better than application logs. https://speedrun.nobackspacecrew.com/blog/2023/09/08/logging... |
|