i have strange messages in log:
2015-08-23 21:00:03.334 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr poll error
2015-08-23 21:00:03.342 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = XXX, base URL = http://localhost:8080)
2015-08-23 21:00:19.040 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service (UUID = XXX, base URL = http://localhost:8080)
what is it?
@guessed thank you. Now I think that those messages must be info in log not error!!!
Please any one change it not only me is confused…
You may want to carry that discussion on the original posting.
Its in the correct category and already has the developer’s attn.
@belovictor If you agree that this is the wrong logging level, maybe it can be fixed easily.
Well, it is an error (disconnection), but sometimes it’s normal that it is happening. So I’m stuck on deciding what to do with that. Probably change the log level to INFO?
xhr poll error does not mean ANYTHING to the user - so this is imho rather a debug entry. For the normal user, you already have an info log that myOH is disconnected that should be fully enough.
Well, all errors are returned as errors from underlaying library. I don’t think that changing the log level depending on text of those errors would be a good idea… That’s why am I stuck…