LOG & EVENTS [message #1742539] |
Sat, 03 September 2016 11:59  |
Eclipse User |
|
|
|
Hi,
after some posts with Chris on OH2, We discussed about the necessarity to evolve the mangement of the logs and events.
the conclusion is @ end on this post with name Zwave plus
community.openhab.org/t/zwave-plus/13788/16
What do you think?
|
|
|
Re: LOG & EVENTS [message #1742563 is a reply to message #1742539] |
Mon, 05 September 2016 08:30   |
Eclipse User |
|
|
|
I am not sure if a general feature in ESH to expose logs on the REST API makes sense.
Logs are essentially internal technical information and should not be relevant to "end user UIs".
How to get diagnostic information is probably something that should be decided by the solutions themselves.
|
|
|
Re: LOG & EVENTS [message #1744908 is a reply to message #1742563] |
Sun, 02 October 2016 11:37   |
Eclipse User |
|
|
|
Quote:
I am not sure if a general feature in ESH to expose logs on the REST API makes sense.
I don't see why it doesn't make sense. It's a management function for sure, but we do have management functions in the REST API. We also added a logging method to allow the front end to add logs, so it would I believe be useful to have a function to also recover logs.
For me it's not a case of if it makes sense - viewing logs is something that is needed, it's more a question of wether or not to add something to the ESH interfaces.
I believe that there are methods for recovering logs, and IMHO if this could be exposed to the REST API it would be very useful if someone were to add it....
|
|
|
Re: LOG & EVENTS [message #1745118 is a reply to message #1744908] |
Wed, 05 October 2016 11:01   |
Eclipse User |
|
|
|
My point was that ESH does not at all deal with logging apart from the fact that it uses org.slf4j interfaces.
The logger implementation is completely up to solutions and thus is the mechanism on how logs can be read, exposed and processed.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04106 seconds