openhab-distro icon indicating copy to clipboard operation
openhab-distro copied to clipboard

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

Open wzbfyb opened this issue 1 year ago • 3 comments

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

  • Version used: openHAB 4.0.4
  • Environment name and version (e.g. Chrome 76, Java 8, Node.js 12.9, ...): Docker
  • Operating System and version (desktop or mobile, Windows 10, Raspbian Buster, ...): Debian on Intel

wzbfyb avatar Dec 18 '23 09:12 wzbfyb

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.

wborn avatar Dec 23 '23 23:12 wborn

I was not able to reproduce either.

mherwege avatar Dec 24 '23 08:12 mherwege

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.

stale[bot] avatar Feb 22 '24 11:02 stale[bot]