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

New virtual node/typical to publish biding "last error" message #18

Open
FulvioSpelta opened this issue May 3, 2016 · 0 comments
Open

Comments

@FulvioSpelta
Copy link
Member

Un piccolo spunto: si potrebbe creare un nodo+tipico fittizio di tipo stringa nel quale pubblicare gli "errori" del binding quali ad esempio il mancato recupero del corretto stato a fronte di un comando dopo i 10 tentativi di ritrasmissione.
in questo modo si potrebbe avere memoria dell'ultimo errore (ovviamente corredato di timestamp e info sul tipico/comando ecc)
e storicizzandolo con persistenza logger addirittura un log mirato facilmente accessibile


A small hint: you could create a node + dummy typical (string type) in which to publish the "errors" of the binding such as the failure to get the correct state in front of a command after 10 retries.
This way you could have the info about the last error (obviously equipped with timestamp and info on the typical / command etc.)
and storing it using logger persistence even an easily accessible log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant