I am in the midst of creating another weather skin to help replace the one I had based on the Wunderground ( I have decided to give Darksky a try). One of the Webparser measures I am using requires DynamicVariables has the Debug=2 option so a file is written. The weird thing is that once every second a debug message is written to the log even though, as far as I can tell, the website is not accessed and the file is not written except when the UpdateRate kicks in. I have included example code below that replicates what I am talking about.
After reading the following post quoted below and tips linked to below and being unable to find an option to turn off the debug message I have these questions.
- Is This expected behavior?
- Is this a bug?
- and most important to me, is there away to suppress these messages?
Any Help would be appreciated. Thanks.
jsmorley wrote: ↑March 29th, 2019, 11:52 am
Using UpdateDivider on WebParser parent or child measures is generally not (and by generally, I really mean never) the way to go. All that is done on the update of a WebParser parent measure is that the UpdateRate counter is incremented by one. Leave UpdateDivider on all WebParser measure set to the default value of 1, and don't use !UpdateMeasure.
https://docs.rainmeter.net/tips/
https://docs.rainmeter.net/tips/webparser-updaterate/
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
[Metadata]
Name=MyWebParser
Author=Me
Information=
Version=
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0
[Variables]
[MeasureGoogle]
Measure=WebParser
Url="https://www.google.com"
RegExp=(?siU)^(.*)$
Debug=2
Debug2File=#@#google.Dat
UpdateRate=600
DynamicVariables=1
[MeterShape]
Meter=Shape
Shape=Rectangle 0,0,150,150,20 |Fill Color 200,200,200,200