A Deeper Dive Into Log Enrichment
2024-2-23 07:4:13 Author: hackernoon.com(查看原文) 阅读量:6 收藏

Open TLDRtldt arrow

Too Long; Didn't Read

The concept of enriching logged data revolves around registering additional context, or data, that should go together with the log messages. This context can be anything - from a simple string to a complex object, and it gets produced or known at some moment within the infrastructure or business code, not at the moment when the log messages are written. So, we cannot simply add another property to log messages, as this code does not produce any logging output, or we want the context to get attached to multiple log messages that may be, or may be not, produced down the execution chain. This context may be even conditional - such as adding specific data only to error log messages while all other messages do not need it.

featured image - A Deeper Dive Into Log Enrichment

Dmitrii Slabko HackerNoon profile picture


@dmitriislabko

Dmitrii Slabko


Accomplished software developer with 25+ years of experience. Focus on .NET technologies.


Receive Stories from @dmitriislabko

react to story with heart

RELATED STORIES

Article Thumbnail

Article Thumbnail

Article Thumbnail

Article Thumbnail

Article Thumbnail

L O A D I N G
. . . comments & more!


文章来源: https://hackernoon.com/a-deeper-dive-into-log-enrichment?source=rss
如有侵权请联系:admin#unsafe.sh