How to find domoticz log file
Posted: Thursday 26 February 2026 10:24
Hello,
1 - Context
Domoticz V2025.2 (build 17277) running on bookworm
Build Hash fac6d8f
Compile Date 2026-02-26 06:42:05
dzVents Version 3.1.11
Python Version 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0]
2 - How to find domoticz log file
I switched from the deprecated mean to create domoticz service using the /etc/init.d/domoticz.sh file to the preferred one in /etc/systemd/system/domoticz.service.
Previously i recorded domoticz messages in "/var/log/domoticz.log" by setting in domoticz.sh file the line:
DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log"
Now when using /etc/systemd/system/domoticz.service I see the domoticz messages in domoticz UI but I am not able to find in which file they are stored. I also would like to define the file name supporting these messages.
I would be grateful if someone could help me or give me a hint.
BR
1 - Context
Domoticz V2025.2 (build 17277) running on bookworm
Build Hash fac6d8f
Compile Date 2026-02-26 06:42:05
dzVents Version 3.1.11
Python Version 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0]
2 - How to find domoticz log file
I switched from the deprecated mean to create domoticz service using the /etc/init.d/domoticz.sh file to the preferred one in /etc/systemd/system/domoticz.service.
Previously i recorded domoticz messages in "/var/log/domoticz.log" by setting in domoticz.sh file the line:
DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log"
Now when using /etc/systemd/system/domoticz.service I see the domoticz messages in domoticz UI but I am not able to find in which file they are stored. I also would like to define the file name supporting these messages.
I would be grateful if someone could help me or give me a hint.
BR