Mathhew and Tom,

I came across this same problem and changed in restx the INFO message to a 
DEBUG message as follows:

                if self.log_success:
                    if weewx.debug >= 2:
                        _time_str = timestamp_to_string(_record['dateTime'])
                        syslog.syslog(syslog.LOG_DEBUG,
                                      "restx: %s: Published record %s" % 
                                      (self.protocol_name, _time_str))

Then this message is only printed when debug is set to 2 or higher.

Luc

On Thursday, 16 March 2017 13:52:44 UTC-3, Ruben Navarro Huedo wrote:
>
> Debug is set to 0 but:
>
> Mar 16 17:50:41 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:41 CET (1489683041)
> Mar 16 17:50:43 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:44 CET (1489683044)
> Mar 16 17:50:46 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:46 CET (1489683046)
> Mar 16 17:50:46 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:46 CET (1489683046)
> Mar 16 17:50:48 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:49 CET (1489683049)
> Mar 16 17:50:51 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:51 CET (1489683051)
> Mar 16 17:50:53 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:54 CET (1489683054)
> Mar 16 17:50:54 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:55 CET (1489683055)
> Mar 16 17:50:55 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:55 CET (1489683055)
> Mar 16 17:50:55 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:56 CET (1489683056)
> Mar 16 17:50:56 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:56 CET (1489683056)
> Mar 16 17:50:58 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:59 CET (1489683059)
> Mar 16 17:50:58 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:50:59 CET (1489683059)
> Mar 16 17:51:01 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:01 CET (1489683061)
> Mar 16 17:51:01 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:01 CET (1489683061)
> Mar 16 17:51:03 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:04 CET (1489683064)
> Mar 16 17:51:03 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:04 CET (1489683064)
> Mar 16 17:51:06 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:06 CET (1489683066)
> Mar 16 17:51:06 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:06 CET (1489683066)
> Mar 16 17:51:08 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:09 CET (1489683069)
> Mar 16 17:51:08 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:09 CET (1489683069)
> Mar 16 17:51:11 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:11 CET (1489683071)
> Mar 16 17:51:13 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:14 CET (1489683074)
> Mar 16 17:51:13 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:14 CET (1489683074)
> Mar 16 17:51:16 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:16 CET (1489683076)
> Mar 16 17:51:17 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:17 CET (1489683077)
> Mar 16 17:51:18 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:18 CET (1489683078)
> Mar 16 17:51:18 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:19 CET (1489683079)
> Mar 16 17:51:21 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:21 CET (1489683081)
> Mar 16 17:51:23 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:24 CET (1489683084)
> Mar 16 17:51:24 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:25 CET (1489683085)
> Mar 16 17:51:25 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:26 CET (1489683086)
> Mar 16 17:51:26 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:26 CET (1489683086)
> Mar 16 17:51:28 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:29 CET (1489683089)
> Mar 16 17:51:31 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:31 CET (1489683091)
> Mar 16 17:51:33 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:34 CET (1489683094)
> Mar 16 17:51:33 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:34 CET (1489683094)
> Mar 16 17:51:36 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:36 CET (1489683096)
> Mar 16 17:51:37 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:37 CET (1489683097)
> Mar 16 17:51:38 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:38 CET (1489683098)
> Mar 16 17:51:38 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:39 CET (1489683099)
> Mar 16 17:51:38 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:39 CET (1489683099)
> Mar 16 17:51:41 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:41 CET (1489683101)
> Mar 16 17:51:42 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:43 CET (1489683103)
> Mar 16 17:51:43 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:43 CET (1489683103)
> Mar 16 17:51:43 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:44 CET (1489683104)
> Mar 16 17:51:46 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:46 CET (1489683106)
> Mar 16 17:51:46 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:46 CET (1489683106)
> Mar 16 17:51:48 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:49 CET (1489683109)
> Mar 16 17:51:48 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:49 CET (1489683109)
> Mar 16 17:51:51 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:51 CET (1489683111)
> Mar 16 17:51:53 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:54 CET (1489683114)
> Mar 16 17:51:53 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:54 CET (1489683114)
> Mar 16 17:51:54 MeteoElche weewx[2569]: restx: Meteotemplate: Published 
> record 2017-03-16 17:51:54 CET (1489683114)
>
>
> El jueves, 16 de marzo de 2017, 16:41:15 (UTC+1), mwall escribió:
>>
>> On Thursday, March 16, 2017 at 11:26:59 AM UTC-4, Ruben Navarro Huedo 
>> wrote:
>>>
>>> Using loop it generates a lot of registers in my syslog.
>>> How could i dissable these continuos meteotemplate log registers?
>>>
>>
>> when you system is running the way you want it, set debug=0
>>  
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to