Hi,
An option to setup LOG could be nice.
Extent the amount of lines.
LOG for last 24h instead of fixed amount of lines...
I fully understand that there has to be som limenation but it could be nice if this could be configurable.
BR
Allan
Dynamic LOG
Moderators: leecollings, remb0
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dynamic LOG
If you use the GUI to look at the log you look at lines that are stored in memory. These lines are not in the database or in another OS file. That's why the limitation is as it is.
If you want more lines you should modify the startup settings of domoticz in /etc/init.d
with an editor of choice
Code: Select all
DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log" # or any other OS file
#DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error, debug" # debug disabled for now
DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error" # these loglevels will make it to the logfile
#DAEMON_ARGS="$DAEMON_ARGS -debuglevel normal,hardware,received,webserver,eventsystem,python,thread_id"
Code: Select all
sudo systemctl daemon-reload
sudo service domoticz stop
sudo service domoticz start
You will now see the standard number of lines in the GUI but all lines in /var/log/domoticz/log
you can have a look at the lines using
sudo tail -f /var/log/domoticz.log
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
Who is online
Users browsing this forum: No registered users and 1 guest