Closed HolgerHees closed 3 years ago
What debug logging do you see?
I see all shell commands printed out to stderr before they are executed. This is a behavior that happens if you run bash shell in trace mode.
Am Mi., 20. Jan. 2021 um 09:19 Uhr schrieb Wouter Born < notifications@github.com>:
What debug logging do you see?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openhab/openhab-docker/issues/346#issuecomment-763423323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLLGRH3VX4TUWBB3PIHA7TS22GYNANCNFSM4WI23P4A .
Yes it helps with troubleshooting issues for newbies. But maybe we can add an option to suppress it for more experienced users.
Adding an option for skipping the ownership changes is also on my todo list as it may not always be useful and also takes a lot of time when starting the containers on SBCs with slow storage.
I use docker with jounald integration and now, everytime I restart the container, my logs are flooded with error logs which should be debug logs printed out to stdout
I think, the reason is that the entrypoint bash skript is started in trace mode (bash -x). Can we make this behavior configurable via env variables?