openhab / openhab-distro

The binary distribution of openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.29k stars 395 forks source link

openHAB 4.0.4: Changing loglevel via Binding Settings empties org.ops4j.pax.logging.cfg #1618

Open wzbfyb opened 5 months ago

wzbfyb commented 5 months ago

Hi,

I noticed that whenever I change a log-level via binding settings (GUI), org.ops4j.pax.logging.cfg suddenly is empty and logging stops. Populating the file again will resume logging. This does not happen if I set loglevel via console.

Expected Behavior

If I change the loglevel for a binding via GUI, I expect logging to still work :)

Current Behavior

Changing Loglevel via GUI, results in an empty org.ops4j.pax.logging.cfg which in turn causes logging to stop. grafik

Possible Solution

only change settings via console, or fix UI

Steps to Reproduce (for Bugs)

  1. Go To Settings, Bindigs
  2. go to settings of a Binding (tried with zigbee and tradfri)
  3. change loglevel there, Save

Your Environment

wborn commented 5 months ago

Changing Loglevel via GUI, results in an empty org.ops4j.pax.logging.cfg which in turn causes logging to stop.

  1. Go To Settings, Bindigs
  2. go to settings of a Binding (tried with zigbee and tradfri)
  3. change loglevel there, Save

I cannot reproduce the issue using these steps.

mherwege commented 5 months ago

I was not able to reproduce either.

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.