According https://www.domoticz.com/wiki/Windows there should be a log file in the log directory. But there is no file coming there. Do I have to switch something else on? Do I need to start Domoticz differently on windows to get the log file on the location I entered during installation?
I want to look back a little longer then what the log file shows at menu Setup - Log (a couple of minutes history)
Where is the log file on windows?
Moderator: leecollings
- waltervl
- Posts: 5913
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Where is the log file on windows?
Last edited by waltervl on Thursday 04 February 2021 17:09, edited 1 time in total.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Where is the log file on windows?
If you start domoticz on windows as an app you can define it in the target field of the properties window.waltervl wrote: ↑Thursday 04 February 2021 14:52 According https://www.domoticz.com/wiki/Windows there should be a log file in the log directory. But there is no file coming there. Do I have to switch something else on? Do I need to start Domotica differently on windows to get the log file on the location I entered during installation?
something like
C:\Users\Public\Domoticz\domoticz.exe -www 8080 -sslwww 443 -log C:\Users\Public\Domoticz\domoticz.log -loglevel normal,status,error
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- waltervl
- Posts: 5913
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Where is the log file on windows?
Found it:
When running as a service you need to change regkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Domoticz\Parameters
Add value AppParameters with -log "<Path-to-logfile>"
So it seems that the installation tool for windows is not working on this logging parameter.
When running as a service you need to change regkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Domoticz\Parameters
Add value AppParameters with -log "<Path-to-logfile>"
So it seems that the installation tool for windows is not working on this logging parameter.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5913
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Where is the log file on windows?
I modified the Wiki so users can correct it directly after installation.
Someone can look into this to get it fixed by the installation script?
Someone can look into this to get it fixed by the installation script?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Where is the log file on windows?
Hm, no log file appears in my case (running as a service) after adding the -log parameter.
Anything I missed?
Who is online
Users browsing this forum: No registered users and 1 guest