First, I’m not sure this is the best place for this. Please feel free to move it or ask me to move it if there is a better place!
I’m fighting an issue on my OH2 installation where something just quits working.
I’d like to have more information before I post saying, “This just stops reporting.” That’s not a very helpful discussion!
I also see many threads say things like, “Turn up the debug and see if there are messages”.
I’d love to do that!
I know part of it: In the karaf console, log:set will let me set the debug level for various loggers. I understand the different levels - I’ve worked with Log4J before - and can see a few of the logger names in the output of log:get.
In the logs themselves, I can see what is being logged, and a truncated part of the logger name, but not enough to know what to turn up or ddown.
I found Logging | openHAB which describes how the log files are set up and has some more logger names, but nothing for any of the bindings I’m struggling with.
How can I get the full name of the logger so I can set the levels?
How can I find the names of other loggers so I can turn them up to see if I can get more information about the problem I’m seeing before I have to bother people on the forum?
Is there a way to get the logger to files or karaf to stop truncating the logger name? Or do I get to install a full development environment to try and figure out where these messages are coming from? (Yay, Open Source! That option exists if that’s what is required!)
Any guidance on how to figure out what loggers to enable and turn up to try and find an issue?
Any help is appreciated, because I’d like to feel like I understand why this problem happens or at least where the problem is before I go asking for more help!