Discovery of unsupported devices filling up log

Hi I am getting lots of device discovery messages in the log file but they do not appear in the PaperUI so I can’t do anything with them.

Is there a way to stop this?

I have feeling it may be to do with the Openwebnet binding which I have installed. This is the log:

2019-02-26 22:50:58.106 [INFO ] [overy.BusGatewayDiscoveryParticipant] - ================================================
2019-02-26 22:50:58.107 [INFO ] [overy.BusGatewayDiscoveryParticipant] - ==OWN:UPnP== DISCOVERED DEVICE: (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:b52f6275-4f78-9d21-ffff-ffff802cd83d, Descriptor: http://192.168.0.195:60000/upnp/dev/b52f6275-4f78-9d21-ffff-ffff802cd83d/desc, Root: true
2019-02-26 22:50:58.107 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =FRIENDLY NAME: Julian's Fire TV Stick
2019-02-26 22:50:58.108 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =BASE URL     : null
2019-02-26 22:50:58.108 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =SERIAL #     : null
2019-02-26 22:50:58.108 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =UPC          : null
2019-02-26 22:50:58.108 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =ID.DESC URL  : http://192.168.0.195:60000/upnp/dev/b52f6275-4f78-9d21-ffff-ffff802cd83d/desc
2019-02-26 22:50:58.108 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =ID.MAX AGE   : 1800
2019-02-26 22:50:58.108 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =MANUFACTURER : Amazon
2019-02-26 22:50:58.108 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =MODEL        : AFTT | null | null
2019-02-26 22:50:58.303 [INFO ] [overy.BusGatewayDiscoveryParticipant] - ================================================
2019-02-26 22:50:58.304 [INFO ] [overy.BusGatewayDiscoveryParticipant] - ==OWN:UPnP== DISCOVERED DEVICE: (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:b52f6275-4f78-9d21-ffff-ffff802cd83d, Descriptor: http://192.168.0.195:60000/upnp/dev/b52f6275-4f78-9d21-ffff-ffff802cd83d/desc, Root: true
2019-02-26 22:50:58.304 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =FRIENDLY NAME: Julian's Fire TV Stick
2019-02-26 22:50:58.305 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =BASE URL     : null
2019-02-26 22:50:58.306 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =SERIAL #     : null
2019-02-26 22:50:58.306 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =UPC          : null
2019-02-26 22:50:58.306 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =ID.DESC URL  : http://192.168.0.195:60000/upnp/dev/b52f6275-4f78-9d21-ffff-ffff802cd83d/desc
2019-02-26 22:50:58.307 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =ID.MAX AGE   : 1800
2019-02-26 22:50:58.307 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =MANUFACTURER : Amazon
2019-02-26 22:50:58.307 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =MODEL        : AFTT | null | null
2019-02-26 22:50:58.459 [INFO ] [overy.BusGatewayDiscoveryParticipant] - ================================================
2019-02-26 22:50:58.459 [INFO ] [overy.BusGatewayDiscoveryParticipant] - ==OWN:UPnP== DISCOVERED DEVICE: (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:b52f6275-4f78-9d21-ffff-ffff802cd83d, Descriptor: http://192.168.0.195:60000/upnp/dev/b52f6275-4f78-9d21-ffff-ffff802cd83d/desc, Root: true
2019-02-26 22:50:58.460 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =FRIENDLY NAME: Julian's Fire TV Stick
2019-02-26 22:50:58.460 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =BASE URL     : null
2019-02-26 22:50:58.460 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =SERIAL #     : null
2019-02-26 22:50:58.460 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =UPC          : null
2019-02-26 22:50:58.460 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =ID.DESC URL  : http://192.168.0.195:60000/upnp/dev/b52f6275-4f78-9d21-ffff-ffff802cd83d/desc
2019-02-26 22:50:58.461 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =ID.MAX AGE   : 1800
2019-02-26 22:50:58.461 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =MANUFACTURER : Amazon
2019-02-26 22:50:58.461 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =MODEL        : AFTT | null | null

Hello,
there is an Openwebnet binding log.
Change the log level
I’m going to memory, possibly checking Openhab’s documentation

Console Karaf

ssh -p 8101 openhab@localhost

Command

log:set WARN org.openhab.binding.openwebnet
log:set WARN org.openwebnet

@massi
Is not it convenient to change these comments from INFO to DEBUG?

That should definitely be done.

Hi thanks - yes @massi I think these should certainly be debug.

Also should we be able to tag certain “Things” so that they are not getting recognised all the time. There must be some sort of overhead having this running all the time?

2019-02-26 22:50:58.460 [INFO ] [overy.BusGatewayDiscoveryParticipant] - =FRIENDLY NAME: Julian's Fire TV Stick

It’s not a Openwebnet device, so it can not discover things

How long do you repeat this message?

Hi I’ve switched off the Openwebnet logging as described:

log:set WARN org.openhab.binding.openwebnet
log:set WARN org.openwebnet

so it’s less of a problem but with `INFO’ logging I get the Amazon Fire appearing 4 times every 15 minutes, so 60 times per hour.

hi,
there are 3 issues here:

  1. all found UPnP devices are currently logged. In OWN binding 2.5.0.M2 only BTicino devices will be logged
  2. found device are logged at INFO level: until UPnP discovery of OWN gateway will be fully tested, it will stay at INFO level; it will of course be moved to DEBUG level once the feature is proven stable
  3. in OH 2.4.0 I have experienced problems with the UPnP discovery service by OH framework: devices were discovered multiple times. Here in this case 4 times instead of 1; also devices have a 1800s expiry time, so they should not be discovered again for 30min. These problems disappeared with OH 2.5.0

So everything will be improved with next OH/OWN binding versions.

Bye
M

Thanks Massi - I am using the new binding now great work!

Hello, I’m using 2.5.0.M2-1 version and still I have log filled up by discovery of UPnP device (Amazon firestick)
Immagine

14:24:31.044 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - +=== UPnP =========================================
14:24:31.074 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | ID.UDN : uuid:a000abab-7c8f-ff96-ffff-ffffdf4acfd2
14:24:31.103 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | ID.DESC URL : http://192.168.2.243:60000/upnp/dev/a000abab-7c8f-ff96-ffff-ffffdf4acfd2/desc
14:24:31.130 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | ID.MAX AGE : 1800
14:24:31.151 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | --------------
14:24:31.172 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | MANUFACTURER : Amazon (null)
14:24:31.196 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | MODEL : AFTT | null | null (null)
14:24:31.219 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - +==================================================
14:24:31.256 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - ==OWN:UPnP== createResult() device=(RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:a000abab-7c8f-ff96-ffff-ffffdf4acfd2, Descriptor: http://192.168.2.243:60000/upnp/dev/a000abab-7c8f-ff96-ffff-ffffdf4acfd2/desc, Root: true
14:24:31.292 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - +=== UPnP =========================================
14:24:31.316 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | ID.UDN : uuid:a000abab-7c8f-ff96-ffff-ffffdf4acfd2
14:24:31.336 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | ID.DESC URL : http://192.168.2.243:60000/upnp/dev/a000abab-7c8f-ff96-ffff-ffffdf4acfd2/desc
14:24:31.360 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | ID.MAX AGE : 1800
14:24:31.385 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - ==OWN:UPnP== getThingUID()
14:24:31.389 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | --------------
14:24:31.408 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - +=== UPnP =========================================
14:24:31.428 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | MANUFACTURER : Amazon (null)
14:24:31.449 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | ID.UDN : uuid:a000abab-7c8f-ff96-ffff-ffffdf4acfd2
14:24:31.469 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | MODEL : AFTT | null | null (null)
14:24:31.496 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | ID.DESC URL : http://192.168.2.243:60000/upnp/dev/a000abab-7c8f-ff96-ffff-ffffdf4acfd2/desc
14:24:31.518 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - +==================================================
14:24:31.536 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | ID.MAX AGE : 1800
14:24:31.571 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | --------------
14:24:31.590 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | MANUFACTURER : Amazon (null)
14:24:31.612 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - | MODEL : AFTT | null | null (null)
14:24:31.630 [INFO ] [nal.discovery.BusGatewayUpnpDiscovery] - +==================================================

How can I fix this issue ?
Thanks
Emilio

Change the log level to WARN.

Good. Done.
Thanks