Set Felix Gogo log level to Debug?

I’ve got a module loading and even apparently initializing. I’m shocked. There’s some useful things as debug level messages in the code, but they aren’t showing in the Eclipse debug log.

How can I set Felix or Gogo or whatever that little shell is called to show debug level logging? Hopefully permanently, and before my items load?

I’m not sure if you can set it in the console, but you can definitely set it in the logback.xml (back to the IDE Setup issue :slightly_smiling_face:).

1 Like

That’s a huge help! That file had examples in it to configure items to go to the Eclipse debug console, and I am now seeing debug output from org.openhab.binding.insteonplm

Thus, I’m able to see that the insteonplm binding can poll the PLM for the list of linked devices! Data back and forth from the PLM! The serial port (and therefore, the configuration!) must be working, too!

Bernd Pfrommer’s code was clear and very well designed so much of it just moved over. Getting the new interface to v2 in front of it wasn’t too bad, but getting it broken out to work on individual items will be some more work. Possible, so far, though!

1 Like
20:39:07.386 [/ttyUSB0 Reader] DEBUG o.o.b.i.i.device.ModemDBBuilder:137 - MDB ------- start of modem link records ------------------
20:39:07.386 [/ttyUSB0 Reader] DEBUG o.o.b.i.i.device.ModemDBBuilder:144 - MDB 4B.55.53: RESP group: 01 data1: 00 data2: 00 data3: 00
20:39:07.386 [/ttyUSB0 Reader] DEBUG o.o.b.i.i.device.ModemDBBuilder:144 - MDB 4B.55.53: CTRL group: 01 data1: 01 data2: 41 data3: 41
20:39:07.386 [/ttyUSB0 Reader] DEBUG o.o.b.i.i.device.ModemDBBuilder:148 - MDB -----
20:39:07.386 [/ttyUSB0 Reader] DEBUG o.o.b.i.i.device.ModemDBBuilder:148 - MDB -----
20:39:07.386 [/ttyUSB0 Reader] DEBUG o.o.b.i.i.device.ModemDBBuilder:150 - MDB ---------------- end of modem link records -----------
20:39:07.386 [/ttyUSB0 Reader] INFO  o.o.b.i.i.handler.InsteonPLMHandler:170 - modem database has 2 entries!
20:39:07.386 [/ttyUSB0 Reader] DEBUG o.o.b.i.i.handler.InsteonPLMHandler:175 - modem db entry: 4B.55.53
20:39:07.386 [/ttyUSB0 Reader] DEBUG o.o.b.i.i.handler.InsteonPLMHandler:175 - modem db entry: 4C.17.37
20:39:07.386 [/ttyUSB0 Reader] INFO  o.o.b.i.i.handler.InsteonPLMHandler:197 - device 4B.55.53 found in the modem database, but is not configured as an item and the modem controls groups [0x01] and responds to groups [0x01].

Woot! Modem data! And even the knowledge that a device exists but isn’t an item - this is all old behavior, but hopefully it will make it possible to dump that generic item in the Inbox, and allow the user to select the Thing Type from the list - which I hope to populate from the XML.