Timeout Openhab Console

Hello,
i am using MobaXterm (which i like very much) under Windows to access my openhab console. There i usually use the command “log:tail” to view the output.
After some minutes the console closes automagicaly. I think this is an timeout from the console.

Is there a parameter to disable the timeout?

Greetings

I don’t know the answer, but I guess the timeout is on purpose… :wink:
you could switch to the logviewer, which comes with openHABian (or just install fontail) though, it’s more convenient and also does show you events.log.

or you could also always just use in the shell (no timeout here):

tail -F /var/log/openhab2/openhab.log /var/log/openhab2/events.log

Probably related to https://github.com/eclipse/smarthome/issues/4520

Since i run openhab in docker i need the console :neutral_face:. But i try to access the logs from the docker host.

Thanks

On Windows one would use the following from a Powershell terminal:

Get-Content $Env:OH_EVENTS -Wait

You should have a volume mapped to userdata. The logs are stored in userdata/logs.