Skip to content

[FEATURE] Ability to have less information in log messages #587

@tvardero

Description

@tvardero

Problem

Log lines are cluttered with information which does not make sense or gives little value:

FUSION [N=FusionCache I=0HNIUCQDRINEH] (O=0HNIUCQDRJAN3 K=gl-backend:metabase_embed_token_114af5e7-8cc3-482d-c61f-08dc99d9cda8_efd0d1d4-df7d-4758-4388-08dc58846adc_1b97c5d0-109a-4960-8e18-08dc593ca882): FailSafeMaxDuration 02:00:00 was lower than the Duration 06:00:00 on FEO[DUR=06:00:00 LKTO=/ SKMR=N SKMW=N SKDR=N SKDW=N SKDRWS=N DDUR=/ JIT=2s PR=N SZ=/ FS=Y FSMAX=02:00:00 DFSMAX=/ FSTHR=30s FSTO=5s FHTO=5s TOFC=N DSTO=1s DHTO=2s ABDO=N SBN=N ABBO=Y AC=N]. Duration has been used instead.

It hides meaningful information way far horizontally, and requires horizontal scroll to see them.

Instead it should have been just

FailSafeMaxDuration 02:00:00 was lower than the Duration 06:00:00. Duration has been used instead.

Those configuration values (DSTO=1s DHTO=2s ABDO=N etc.) I could find myself when needed by looking through my codebase.

Solution

Option in options to have less verbose log messages.

Extended debug information should be disabled by default (breaking!) in my opinion.

Alternatives

Disabling fusioncache logs (setting log filter to Fatal)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions