Skip to content

Log pollution after restarting adapter #598

Open
@sargonphin

Description

@sargonphin

Describe the bug
When restarting the adapter, if some devices are not online, a lot of pollution will be generated at "info" loglevel

tr-064.0 | 2025-03-05 14:40:38.954 | info | forEachConfiguredDevice: in GetSpecificHostEntry 0(Some-PC/AB:CD:EF:12:34:56) device seems offline but we never saw it since adapter was started:Error: sendSOAPActionRequest Error action=GetSpecificHostEntry serviceType=urn:dslforum-org:service:Hosts:1: 500 - {"code":500}

To Reproduce
Steps to reproduce the behavior:

  1. Register some devices on the TR-064 adapter
  2. Turn these devices off
  3. Wait for Fritzbox to register the devices as "offline"
  4. Restart adapter/ioBroker

Expected behavior
Nothing should be in the logs as the devices are offline but still technically there (even in the Fritzbox network inventory)

Screenshots & Logfiles
tr-064.0 | 2025-03-05 14:40:38.954 | info | forEachConfiguredDevice: in GetSpecificHostEntry 0(Some-PC/AB:CD:EF:12:34:56) device seems offline but we never saw it since adapter was started:Error: sendSOAPActionRequest Error action=GetSpecificHostEntry serviceType=urn:dslforum-org:service:Hosts:1: 500 - {"code":500}

This line will repeat every 30 seconds and pollute the logs

Versions:

  • Adapter version: 4.3.07
  • JS-Controller version: 7.0.6
  • Node version: 20.18.3
  • Operating system: Raspberry-OS (Bookworm)

Additional context

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions