Page 1 of 1

No dzvents log on the domoticz log page

Posted: Saturday 16 March 2019 19:46
by snellejellep
Hi,
For some time now, i do not seem to get any dzvents log messages in my log, which i previously did get.
I view my log from settings > log in the web interface.

someone else having this problem?

i have it for a couple of months now and updated to various betas, now running the current latest V4.10547 but it still does not seem to work.
i even changed the loglevel for dzvents in the settings to debug but that does not seem to make any difference.

i hope someone can help me.

Re: No dzvents log on the domoticz log page

Posted: Saturday 16 March 2019 21:41
by waaren
snellejellep wrote: Saturday 16 March 2019 19:46 Hi,
For some time now, i do not seem to get any dzvents log messages in my log, which i previously did get.
I view my log from settings > log in the web interface.

someone else having this problem?

i have it for a couple of months now and updated to various betas, now running the current latest V4.10547 but it still does not seem to work.
i even changed the loglevel for dzvents in the settings to debug but that does not seem to make any difference.

i hope someone can help me.
Can you share your /etc/init.d/domoticz.sh ?
Do you select "All" at the log tab ?
Did you cleared cache and appcache after the last update ?

Re: No dzvents log on the domoticz log page

Posted: Monday 18 March 2019 17:56
by snellejellep
waaren wrote: Saturday 16 March 2019 21:41 Can you share your /etc/init.d/domoticz.sh ?
Do you select "All" at the log tab ?
Did you cleared cache and appcache after the last update ?
i did all of that, this is my domoticz.sh: https://snellejellep.stackstorage.com/s/yM59Njojl26elie

Re: No dzvents log on the domoticz log page

Posted: Monday 18 March 2019 18:08
by waaren
snellejellep wrote: Monday 18 March 2019 17:56
waaren wrote: Saturday 16 March 2019 21:41 Can you share your /etc/init.d/domoticz.sh ?
Do you select "All" at the log tab ?
Did you cleared cache and appcache after the last update ?
i did all of that, this is my domoticz.sh: https://snellejellep.stackstorage.com/s/yM59Njojl26elie
Can you try to change the current line

Code: Select all

DAEMON_ARGS="$DAEMON_ARGS -log /tmp/log/domoticz.log -loglevel normal"
in /etc/init.d/domoticz.sh

and make it

Code: Select all

DAEMON_ARGS="$DAEMON_ARGS -log /tmp/log/domoticz.log"
DAEMON_ARGS="$DAEMON_ARGS -loglevel  normal,status,error"
after that stop and start domoticz (a restart might not be enough to pick up these changes).

When stopping domoticz you will see a message like

Code: Select all

Warning: domoticz.service changed on disk. Run 'systemctl daemon-reload' to reload units.
This is normal behavior. Just do a

Code: Select all

sudo systemctl daemon-reload 
to reload them before giving the start command (only needed once).

Re: No dzvents log on the domoticz log page  [SOLVED]

Posted: Monday 18 March 2019 19:16
by snellejellep
waaren wrote: Monday 18 March 2019 18:08
snellejellep wrote: Monday 18 March 2019 17:56
waaren wrote: Saturday 16 March 2019 21:41 Can you share your /etc/init.d/domoticz.sh ?
Do you select "All" at the log tab ?
Did you cleared cache and appcache after the last update ?
i did all of that, this is my domoticz.sh: https://snellejellep.stackstorage.com/s/yM59Njojl26elie
Can you try to change the current line

Code: Select all

DAEMON_ARGS="$DAEMON_ARGS -log /tmp/log/domoticz.log -loglevel normal"
in /etc/init.d/domoticz.sh

and make it

Code: Select all

DAEMON_ARGS="$DAEMON_ARGS -log /tmp/log/domoticz.log"
DAEMON_ARGS="$DAEMON_ARGS -loglevel  normal,status,error"
after that stop and start domoticz (a restart might not be enough to pick up these changes).

When stopping domoticz you will see a message like

Code: Select all

Warning: domoticz.service changed on disk. Run 'systemctl daemon-reload' to reload units.
This is normal behavior. Just do a

Code: Select all

sudo systemctl daemon-reload 
to reload them before giving the start command (only needed once).
Thank you, this works but am i supposed to get dzvents debug log messages? i do not remember getting those but that may be new.

Re: No dzvents log on the domoticz log page

Posted: Monday 18 March 2019 20:29
by waaren
snellejellep wrote: Monday 18 March 2019 19:16 Thank you, this works but am i supposed to get dzvents debug log messages? i do not remember getting those but that may be new.
dzVents Log Level is controlled separately:
using the domoticz web GUI interface: choose [setup] [settings] [other] and at the bottom you will find the dzVents Log Level where you can pick one of the 5 different levels

Re: No dzvents log on the domoticz log page

Posted: Monday 18 March 2019 20:30
by snellejellep
Right, i ineed changed that in trying to fix the issue. Massive thanks!

Verstuurd vanaf mijn SM-G975F met Tapatalk