EventSystem: Fetching url...

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

Moderator: leecollings

Post Reply
boguslaw
Posts: 4
Joined: Tuesday 17 January 2017 11:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

EventSystem: Fetching url...

Post by boguslaw »

Hi

Maybe it's not related to dzVents but maybe somebody knows how can I get rid of this log message like :
2017-11-26 11:17:41.584 EventSystem: Fetching url...

I'm using dzVEnts to ask status of some switch periodically (using url opening) and want to keep it silent but even if set Silent as log level for dzVents and even if I put -loglevel 2 into the domoticz.sh it's still there.
I found that this log message is logged with level LOG_STATUS but I cannot find a
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: EventSystem: Fetching url...

Post by dannybloe »

Yup that's Domoticz' doing. Quite a lot of people find it important the the logs show when there are url requests being made. I think that's the reason why it is in the logs. I suggested a while ago to not log this at all but it was rejected.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: EventSystem: Fetching url...

Post by Flopp »

I cannot find any setting for this so I guess it is still not possible.

Anyone know a way around, to not get this text in log?
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: EventSystem: Fetching url...

Post by gizmocuz »

How about we display just "EventSystem: Opening 'some' URL ...."
Quality outlives Quantity!
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: EventSystem: Fetching url...

Post by Flopp »

You mean make the text shorter? Sound good.

Possible to have a setting to not display any text at all for all Eventsystem URL fetch?
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: EventSystem: Fetching url...

Post by gizmocuz »

@Flopp, no that will not happen, we need to see if a URL was called... If you want to do some secret/hidden things, best to add a line to your crontab
Yes i mean to not display the actual URL, just the shorter log version
Quality outlives Quantity!
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: EventSystem: Fetching url...

Post by Flopp »

I understand.

Then I vote for a shorter text output.

Thanks
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: EventSystem: Fetching url...

Post by gizmocuz »

Implemented in beta 10730
Quality outlives Quantity!
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: EventSystem: Fetching url...

Post by Flopp »

Wow, are you serious, that was extremely quick done. :)

Thanks a lot
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest