[SOLVED] no longer logging after 2025.1 install

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
hestia
Posts: 361
Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:

[SOLVED] no longer logging after 2025.1 install

Post by hestia »

Hi,
I've installed 2025.1
Version: 2025.1
Build Hash: 89d5c900d
Compile Date: 2025-05-05 09:02:49
dzVents Version: 3.1.8
and I've almost no longer log for dzVents script, even with the settings as Debug (everything).

I've tried the script template Logging

Code: Select all

return {
	on = {
		devices = {
			203
		}
	},
	logging = {
		marker = 'log_script',
		level = domoticz.LOG_DEBUG
	},
	execute = function(domoticz, device)
	    domoticz.log('none log line!')
		domoticz.log('INFO log line!', domoticz.LOG_INFO)
		domoticz.log('STATUS log line!', domoticz.LOG_STATUS)
		domoticz.log('ERROR log line!', domoticz.LOG_ERROR)
		domoticz.log('DEBUG log line!', domoticz.LOG_DEBUG)
		domoticz.log('FORCE log line!', domoticz.LOG_FORCE)
	end
}
with this return only

Code: Select all

2025-05-12 22:18:56.008 Status: dzVents: log_script: STATUS log line!
2025-05-12 22:18:56.009 Error: dzVents: log_script: ERROR log line!
An issue during the install?
A change as I saw ?
Version 2024.5 (July 7th 2024)
- Implemented: Currency Symbol in Location Settings
- Implemented: dzVents, Added historical data helper 'med' to calculate the median value
- Implemented: dzVents, Improved logging
Last edited by hestia on Wednesday 14 May 2025 18:12, edited 1 time in total.
User avatar
waltervl
Posts: 5733
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: no longer logging after 2025.1 install

Post by waltervl »

What is your dVents log level in menu Setup - settings, tab other?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
hestia
Posts: 361
Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:

Re: no longer logging after 2025.1 install

Post by hestia »

even with the settings as Debug (everything)
and it was ok before the upgrade
User avatar
waltervl
Posts: 5733
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: no longer logging after 2025.1 install

Post by waltervl »

I have tested the example script this morning and have no issues. I see all the log lines.

But did you filter correctly? I see more lines also when the script starts and stops. In the log search box type log_
It should show all the logging from the log test script.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
hestia
Posts: 361
Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:

Re: no longer logging after 2025.1 install

Post by hestia »

Thanks for this reply.
Other testing:
I've changed the Settings to test all the possible values and the results are the same for all the Settings
2 log lines only
Settings.png
Settings.png (29.27 KiB) Viewed 288 times
Log.png
Log.png (23.6 KiB) Viewed 288 times
but no debug info and no log for the other values, perhaps the STATUS log in the only one working now ?

What do you have in your /etc/init.d/domoticz.sh
I've not changed mine since 2023

Code: Select all

DAEMON_ARGS="$DAEMON_ARGS -loglevel status,error"
User avatar
waltervl
Posts: 5733
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: no longer logging after 2025.1 install

Post by waltervl »

I have the default outcommented value for syslog:
#DAEMON_ARGS="$DAEMON_ARGS -syslog"
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
hestia
Posts: 361
Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:

Re: no longer logging after 2025.1 install

Post by hestia »

Thanks for your reply
I've commented this line

Code: Select all

DAEMON_ARGS="$DAEMON_ARGS -loglevel status,error"
and it's solved
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest