iobroker-community-adapters / ioBroker.synology

ioBroker SYNOLOGY Adapter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reduce logging in case of NAS offline / unreachable

mcm1957 opened this issue · comments

If a NAS is not reachable, the adapter logs excessiv messages with level info:

synology.0 | 2022-10-13 12:21:09.260 | info | Connecting to Synology 10.17.2.7:5701
synology.0 | 2022-10-13 12:20:35.349 | info | Connecting to Synology 10.17.2.7:5701
synology.0 | 2022-10-13 12:20:01.420 | info | Connecting to Synology 10.17.2.7:5701
synology.0 | 2022-10-13 12:19:27.259 | info | Connecting to Synology 10.17.2.7:5701
synology.0 | 2022-10-13 12:18:53.341 | info | Connecting to Synology 10.17.2.7:5701
synology.0 | 2022-10-13 12:18:19.419 | info | Connecting to Synology 10.17.2.7:5701

The adapter should log ONE message if the connection is lost and one message if the connection is restored again.
The meassage above resulting from retryies should be logged with debug level only.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

still to investigate