Skip to content

[enhancement]: Option to suppress per-adapter lifecycle logs (started / terminated) #3078

@g-Nostradamus

Description

@g-Nostradamus

No existing issues.

  • There is no existing issue for my request.

Description

Currently, js-controller logs every adapter start/stop at info level, e.g.:

host.630 info instance system.adapter.weatherunderground.0 started with pid 139149
host.630 info instance system.adapter.weatherunderground.0 terminated with code 0

These messages always appear, even if the adapter log level is warn or error. The existing "ignore" filter only works for adapter output, not these lifecycle messages.

Why?

Cleaner logs, easier monitoring of real warnings/errors, especially for frequently restarting adapters or large setups.

How?

Add a way to suppress lifecycle logs per adapter (e.g., via a regex or an "ignoreLifecycle" array in iobroker.json) while keeping normal adapter logs intact.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions