ZigBee disable Debug Logging

  • Platform information:
    • Hardware: Raspberry Pi 3b
    • OS: raspbian
    • openHAB version: 2.4 Stable Docker:latest
    • CC2531 Zigbee stick

openhab writes Debug Log for the zigbee binding

11:32:39.131 [DEBUG] [531.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 D1 DD 0B 01 00 03 5E 30 1F 05 00 5E 00 01 00 04, checksum=04, error=false)
11:32:39.261 [DEBUG] [531.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
11:32:39.545 [DEBUG] [531.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 5E 98)
11:32:39.552 [DEBUG] [531.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=94)
11:32:39.557 [DEBUG] [531.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 1C 44 81 00 00 00 03 D1 DD 0B 01 00 00 00 9D D2 D5 00 00 08 18 5E 01 01 00 00 20 63 D1 DD 1D 5A)
11:32:39.561 [DEBUG] [531.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=28, apiId=44 81, data=FE 1C 44 81 00 00 00 03 D1 DD 0B 01 00 00 00 9D D2 D5 00 00 08 18 5E 01 01 00 00 20 63 D1 DD 1D 5A, c

there is no debug log enabled

openhab> log:list
Logger                                             │ Level
───────────────────────────────────────────────────┼──────
ROOT                                               │ WARN
com.zsmartsystems.zigbee                           │ WARN
javax.jmdns                                        │ ERROR
org.apache.karaf.jaas.modules.audit                │ INFO
org.apache.karaf.kar.internal.KarServiceImpl       │ ERROR
org.apache.karaf.shell.support                     │ OFF
org.apache.sshd                                    │ ERROR
org.eclipse.smarthome                              │ INFO
org.jupnp                                          │ ERROR
org.openhab                                        │ INFO
org.openhab.binding.heos                           │ WARN
org.ops4j.pax.url.mvn.internal.AetherBasedResolver │ ERROR
org.ops4j.pax.web.pax-web-runtime                  │ OFF
smarthome.event                                    │ WARN
smarthome.event.InboxUpdatedEvent                  │ ERROR
smarthome.event.ItemAddedEvent                     │ ERROR
smarthome.event.ItemRemovedEvent                   │ ERROR
smarthome.event.ItemStateEvent                     │ ERROR
smarthome.event.ThingAddedEvent                    │ ERROR
smarthome.event.ThingRemovedEvent                  │ ERROR
smarthome.event.ThingStatusInfoEvent               │ ERROR

Disable with log:set not working

240 │ Active   │  80 │ 1.13.0                 │ openHAB Weather Binding
241 │ Active   │  80 │ 2.4.0                  │ ZigBee Binding
242 │ Active   │  80 │ 2.4.0                  │ ZigBee CC2531 Binding
243 │ Active   │  80 │ 2.4.0                  │ ZigBee Ember Binding
244 │ Active   │  80 │ 2.4.0                  │ ZigBee Telegesis Binding
245 │ Active   │  80 │ 2.4.0                  │ ZigBee XBee Binding
246 │ Active   │  80 │ 2.4.0                  │ openHAB 1.x Compatibility Layer
247 │ Active   │  80 │ 1.13.0                 │ openHAB CalDav Calendar
248 │ Active   │  80 │ 2.4.0                  │ Hue Emulation Service
249 │ Active   │  80 │ 2.4.0                  │ openHAB Cloud Connector Bundle
250 │ Active   │  80 │ 1.13.0                 │ openHAB MQTT Transport Bundle
251 │ Active   │  80 │ 1.13.0                 │ openHAB InfluxDB Persistence bundle
252 │ Active   │  80 │ 1.13.0                 │ openHAB MapDB Persistence Bundle
253 │ Active   │  80 │ 1.13.0                 │ openHAB RRD4j Persistence Bundle
254 │ Resolved │  75 │ 2.4.0                  │ openHAB Basic UI Fragment, Hosts: 227
255 │ Active   │  80 │ 2.4.0                  │ HABPanel User Interface
256 │ Resolved │  75 │ 2.4.0                  │ openHAB Paper UI Theme Fragment, Hosts: 228
openhab> log:set WARN 241

Any ideas how can i disable the logging?

Thanks!

ZigBee uses multiple bundles - you should use the package names as per the zigbee documentation.

the documentation said

log:set WARN org.openhab.binding.zigbee
log:set WARN com.zsmartsystems.zigbee
log:set info com.zsmartsystems.zigbee.dongle.ember.internal.ash

after change this i have the same debug logs

com.zsmartsystems.zigbee                           │ WARN
com.zsmartsystems.zigbee.dongle.ember.internal.ash │ INFO
javax.jmdns                                        │ ERROR
org.apache.karaf.jaas.modules.audit                │ INFO
org.apache.karaf.kar.internal.KarServiceImpl       │ ERROR
org.apache.karaf.shell.support                     │ OFF
org.apache.sshd                                    │ ERROR
org.eclipse.smarthome                              │ INFO
org.jupnp                                          │ ERROR
org.openhab                                        │ INFO
org.openhab.binding.heos                           │ WARN
org.openhab.binding.zigbee                         │ WARN

same logs

13:49:26.351 [DEBUG] [531.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
13:49:26.354 [DEBUG] [531.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 40 87 0B 01 08 00 84 30 1F 05 00 84 00 00 00 C5, checksum=C5, error=false)
13:49:26.574 [DEBUG] [531.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
13:49:26.577 [DEBUG] [531.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 84 42)
13:49:26.579 [DEBUG] [531.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=132)
13:49:26.583 [DEBUG] [531.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 1C 44 81 00 00 08 00 40 87 0B 01 00 00 00 CE EC 15 00 00 08 18 84 01 00 00 00 20 FE D1 DD 1C 70)
13:49:26.586 [DEBUG] [531.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=28, apiId=44 81, data=FE 1C 44 81 00 00 08 00 40 87 0B 01 00 00 00 CE EC 15 00 00 08 18 84 01 00 00 00 20 FE D1 DD 1C 70