No dzvents log on the domoticz log page  [SOLVED]

Moderator: leecollings

Post Reply
snellejellep
Posts: 241
Joined: Tuesday 16 May 2017 13:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Neterlands
Contact:

No dzvents log on the domoticz log page

Post 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.
raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: No dzvents log on the domoticz log page

Post 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 ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
snellejellep
Posts: 241
Joined: Tuesday 16 May 2017 13:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Neterlands
Contact:

Re: No dzvents log on the domoticz log page

Post 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
raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: No dzvents log on the domoticz log page

Post 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).
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
snellejellep
Posts: 241
Joined: Tuesday 16 May 2017 13:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Neterlands
Contact:

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

Post 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.
raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: No dzvents log on the domoticz log page

Post 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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
snellejellep
Posts: 241
Joined: Tuesday 16 May 2017 13:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Neterlands
Contact:

Re: No dzvents log on the domoticz log page

Post by snellejellep »

Right, i ineed changed that in trying to fix the issue. Massive thanks!

Verstuurd vanaf mijn SM-G975F met Tapatalk

raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest