Open msexton187 opened 3 years ago
When you start OH with the start.bat file, the log in userdata/logs is used. If you start OP as the service via service wrapper, the files get not created/updated in userdata/logs. But I get the file generated in my c:\ folder then instead.
Fix would be very appreciated. If you need additional info, tell me how I can help.
This seems to be same problem that is described here (with solution): https://community.openhab.org/t/solved-when-running-openhab-3-as-a-windows-service-it-takes-wrong-userdata-directory/112110/4?u=mherbst
After doing a fresh install of OH3 on Windows, openhab.log and events.log aren't generated. Prior to installing the service wrapper, all log files are generated as expected, but once the service wrapper is installed only the wrapper.log is created. See below for an excerpt of the wrapper.log file after the service was installed.
Additional Information: openHAB installation dir is set to: set.default.OPENHAB_HOME=C:\openhab This location is valid and exactly what is was for OH2 Windows Version: 10 Java Version: Zulu 11
Full Log: