-
Notifications
You must be signed in to change notification settings - Fork 155
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
Feature Request: disable logging for drivers. #328
Comments
Hm ... Why we should prevent errors from ebing shown? If adpters have problems then these need to be reported and fixed. Do you have examples? |
I have a modbus instance that polls the wrong device. Nothing can be fixed there - the features of the device itself. The same problems were with this device and when connecting to a non- IoB. Sometimes, about once a minute, IoB will send in log an incorrect answer "(8355) Client in error state.". Then it works normally for next 1-2 minutes. I know about this and I understand that nothing can be changed. But huge lists of errors that are uninteresting prevent you from taking the necessary warnings. It is best to turn off what is unnecessary. |
Let's say your adapter runs perfectly and serves your needs. There's just a datapoint that isn't really used yet which is causing an error being written every 2 seconds. You reach out to the developer for a fix. It takes time, but you can't use the adapter at all in the meantime because it's cluttering your disk. |
In addition: Not being able to disable the known and for the time being accepted error log also prevents me from immediately seeing other, maybe more important logs. |
So in fact you want a "loglevel above error" like "disabled" ? |
Hi.
Regards Maik |
@fortschritt311 or request at the adater that the loglevel gets changed and you can increase to error? |
@Apollon77 thanks, I have placed a feature request with modbus adapter. But I think it could also be interesting for other adapters so that the function is centralized. |
The minimum possible level of logs is "error". Sometimes in case of not quite correct operation of the equipment, it is useful to be able to completely disable logs on any driver. To avoid seeing persistent errors. About which it is already known.
The text was updated successfully, but these errors were encountered: