Make Your Value Stream Visible Through Structured Logging

Looking at software development before the cloud revolution, using logging frameworks was kind of common. They supported the dev in formatting the logs, buffering them and sending them to the correct sink such as Elasticsearch. With the rise of cloud platforms applications tended to get smaller units and direct integrations of cloud applications into observability or log archive platforms is now possible with a few lines of configuration. It's time to review if using logging frameworks pays off or a simple 'console.log' and forward the application/function output to some provider such as datadog will do the job.

Direct Comparison

Let's have a view on usual requirements a developer has on the logging facility. Loggers should be available everywhere in the code, either you want to log specific infos deep in the code stack or log unhandled exceptions on the top entry point. As a log message might not be specific enough to understand the context in which it was written, you will enrich it with additional metadata describing a current snapshot of the context. This leads to the next point: once you want to serialize full objects you need to take care of removing sensitive information like tokens. It is up to you deciding how useful it is to log the whole object. Once you are working in a system under load, there will be a high volume of log messages produced, so the key essence of logging is the search-ability and filterability of messages afterwards.

Console.log

export const loggerFactory = (moduleName: string, meta: Record = {}): Logger => {
  const correlationId = uuidv4();
  const metaState = {
    correlationId,
    ...meta,
  };
  const child = logger.child({
    moduleName,
    ...metaState,
  });
  return new LoggerImpl(child, metaState);
};
News

Proof-of-Value Workshop

Today's businesses need data integration solutions that offer open, reusable standards and a complete, innovative portfolio of data capabilities. Apply for one of our free workshops!

Service 9/12/22

App development by catworkx – customized and marketable

catworkx App Development: Custom apps, workflow automation, macros, blueprints & integrations for Jira and Confluence to boost efficiency and adapt solutions to your needs.

Event

Beyond Cloud Migration: Turn Your Cloud Journey into Value

Join catworkx, Atlassian, and AWS experts to learn how organizations turn Cloud transformation into measurable business value and faster innovation.

Blog 3/20/24

Unique insights through graph databases

Graph databases equip companies with distinctive insights, fostering a significant competitive edge.

Event

From DC to Cloud: Turn Your Cloud Journey into Real Value

Cloud migration is more than a technical move. Join Atlassian, AWS, and catworkx to learn how to accelerate transformation and turn your cloud journey into measurable business value.

Service

Value Added Reselling

Our Value Added Reselling approach creates a trusted partnership that maximizes SAM efficiency and ROI for our customers.

Blog 6/29/21

7 Positive effects of visualizing the interests of your team

Interests maps unleash hidden potentials and interests, but they also make it clear which topics are not of interest to your colleagues.

Referenz

Improved Performance and Stability through RCA

Root Cause Analyses, or RCA for short (zu deutsch: Fehler-Ursachen-Analyse), get to the bottom of problems. Used correctly, they not only improve the security of IT infrastructures (e.g., Atlassian...

Referenz

Managing sensitive data through digital personnel files

TIMETOACT enables the digital management of personnel documents for Pfalzwerke. Managing and editing sensitive personnel data is now secure and requires less effort.

2023 Referenz IAM Teaserbild SID
Success Story

Elimination of data clutter through identity management.

This is how we create transparency, efficiency, and say goodbye to data clutter. Find out how our experts are making history with SID. Read more about it.

Blog

Your secure solution for the digital working world

Google Workspace: The secure alternative in today's threat landscape!

Blog 7/6/21

They promised it would be the next big thing!

Haven’t we all been there? We have all been promised by teachers, colleagues or public speakers that this or that was about to be the next big thing in tech that would change the world as we know it.

Blog 3/10/21

Introduction to Web Programming in F# with Giraffe – Part 1

In this series we are investigating web programming with Giraffe and the Giraffe View Engine plus a few other useful F# libraries.

Blog 3/11/21

Introduction to Web Programming in F# with Giraffe – Part 2

In this series we are investigating web programming with Giraffe and the Giraffe View Engine plus a few other useful F# libraries.

Blog 3/12/21

Introduction to Web Programming in F# with Giraffe – Part 3

In this series we are investigating web programming with Giraffe and the Giraffe View Engine plus a few other useful F# libraries.

Blog 7/16/21

Building A Shell Application for Micro Frontends | Part 4

We already have a design system, several micro frontends consuming this design system, and now we need a shell application that imports micro frontends and displays them.

Blog 7/14/21

Building and Publishing Design Systems | Part 2

Learn how to build and publish design systems effectively. Discover best practices for creating reusable components and enhancing UI consistency.

Blog 1/29/20

Tracing IO in .NET Core

Learn how we leverage OpenTelemetry for efficient tracing of IO operations in .NET Core applications, enhancing performance and monitoring.

Blog 7/15/21

Building a micro frontend consuming a design system | Part 3

In this blopgpost, you will learn how to create a react application that consumes a design system.

Blog 12/22/22

Introduction to Functional Programming in F# – Part 7

Explore LINQ and query expressions in F#. Simplify data manipulation and enhance your functional programming skills with this guide.