How can I remove the loglinks from my logs?

Versions

All versions

Resolution

In order to remove the loglinks from your log files you need to add the following parameters to your JAVA_OPTS:

- Dtakipi.no.etl

Disables instrumentation and injection of loglinks into Throwable messages. This does not affect injection of loglinks into logging statements.

- Dtakipi.no.xtl

Disables injection of log links into log statements. This does not affect collection of logged warnings/errors as events, nor does it affect injection of loglinks into Throwable messages.

Example:

JAVA_OPTS="${JAVA_OPTS} -Dtakipi.no.etl -Dtakipi.no.xtl"

Root-Cause

These function was enabled by default in the past.

All new deployments / installations it is disabled by default.