Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce logging in case of NAS offline / unreachable #196

Open
mcm1957 opened this issue Oct 13, 2022 · 2 comments
Open

Reduce logging in case of NAS offline / unreachable #196

mcm1957 opened this issue Oct 13, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@mcm1957
Copy link
Member

mcm1957 commented Oct 13, 2022

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.

@stale
Copy link

stale bot commented Jan 16, 2023

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.

@stale stale bot added the wontfix This will not be worked on label Jan 16, 2023
@mcm1957
Copy link
Member Author

mcm1957 commented Jan 16, 2023

still to investigate

@mcm1957 mcm1957 added enhancement New feature or request and removed wontfix This will not be worked on labels Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant