Problem/Motivation

When we have a mixed environment where nginx and Drupal work together in a single pod, they both produce logs to a single stdout stream. In that case it'll be good to have a key to identify the exact source of the log entry.

The common name for this key is service.name, so would be great to add this key to the log record and allow configuring the custom value.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

murz created an issue. See original summary.

murz’s picture

Title: Add the "service.name" field to logs to simplfy identifying the source in aggregated output » Add the "service.name" field to logs to simplfy identifying the source in mixed output

  • murz committed 98b0e8c9 on 1.0.x
    Issue #3530053 by murz: Add the "service.name" field to logs to simplfy...
murz’s picture

Version: 1.3.0-beta1 » 1.0.x-dev
Status: Active » Fixed

Implemented a new checkbox "service.name" in the settings, that adds the service info to the log.

murz’s picture

Status: Fixed » Closed (fixed)