I'm doing some LUA script debugging and I like to see the output of the print statements in de LUA script somewhere in the log. I've been playing with the DAEMON_ARGS setting in the domoticz.sh but so far no result playing around with the loglevel and debuglevel. This is what I currently have:
Code: Select all
DAEMON=/home/$USERNAME/domoticz/$NAME
DAEMON_ARGS="-daemon"
#DAEMON_ARGS="$DAEMON_ARGS -daemonname $NAME -pidfile $PIDFILE"
DAEMON_ARGS="$DAEMON_ARGS -www 8080"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 443"
#DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.txt"
#DAEMON_ARGS="$DAEMON_ARGS -syslog"
DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error,debug"
DAEMON_ARGS="$DAEMON_ARGS -debuglevel eventsystem"
Thanks, Joep