I have debug = 0 and the output is still going to syslog.

On Thursday, 17 September 2020 at 19:17:20 UTC+10 gjr80 wrote:

> Looks like standard debug output code to me, albeit using the old syslog 
> module rather than the logging module. debug = 0 in weewx.conf should turn 
> it off.
>
> Gary
>
> On Thursday, 17 September 2020 at 19:09:02 UTC+10 Greg from Oz wrote:
>
>> I looked at the code and it looks like it is all hard coded in there:
>>             syslog.syslog(syslog.LOG_DEBUG, "aussearch: 
>> feelslikeLocal['DaySummer'] = %s" % 
>> (pprint.pformat(self.feelslikeLocal['DaySummer'])))
>> So my guess would be you could comment the log entries out.
>>
>>
>> On Thursday, 17 September 2020 at 13:53:17 UTC+10 vk3...@gmail.com wrote:
>>
>>> Greg - the code is working well and that was not what I was saying 
>>> (apparently not very clearly).
>>> Are you getting a lot of messages in the system log such as:
>>>
>>> Sep 17 13:50:18 weather /weewxd[586]: aussearch: feelslikeLocal[
>>> 'DaySummer'] = {-40: 'Cold', 16: 'Cool', 22: 'Mild', 27: 'Warm', 32: 
>>> 'Hot', 37: 'Very Hot'}
>>>
>>> Sep 17 13:50:18 weather /weewxd[586]: aussearch: feelslikeLocal[
>>> 'NightSummer'] = {-40: 'Cold', 10: 'Cool', 15: 'Mild', 18: 'Warm', 22: 
>>> 'Hot'}
>>>
>>> Sep 17 13:50:18 weather /weewxd[586]: aussearch: feelslikeLocal[
>>> 'DayWinter'] = {-40: 'Very Cold', 10: 'Cold', 13: 'Cool', 16: 'Mild', 20
>>> : 'Warm'}
>>>
>>> Sep 17 13:50:18 weather /weewxd[586]: aussearch: feelslikeLocal[
>>> 'NightWinter'] = {-40: 'Very Cold', 1: 'Cold', 5: 'Cool', 10: 'Mild'}
>>>
>>> Sep 17 13:50:19 weather /weewxd[586]: aussearch: check xml file: /var/
>>> lib/weewx/aussearch/IDN11060.xml expires 2020-09-17 05:55:00+00:00
>>>
>>> Sep 17 13:50:19 weather /weewxd[586]: aussearch: xml: checking cache 
>>> sent-time va remote amoc sent-time: IDN11060.xml
>>>
>>> Sep 17 13:50:19 weather /weewxd[586]: aussearch: xml: /var/lib/weewx/
>>> aussearch/IDN11060.xml: sent-time: 2020-09-16T23:12:46Z
>>>
>>> Sep 17 13:50:19 weather /weewxd[586]: aussearch: xml: ftp://
>>> ftp.bom.gov.au/anon/gen/fwo/IDN11060.amoc.xml: sent-time: 
>>> 2020-09-16T23:12:46Z
>>>
>>> Sep 17 13:50:20 weather /weewxd[586]: aussearch: check xml file: 
>>> /var/lib/weewx/aussearch/IDV10753.xml expires 2020-09-17 06:10:00+00:00
>>>
>>> Sep 17 13:50:20 weather /weewxd[586]: aussearch: xml: checking cache 
>>> sent-time va remote amoc sent-time: IDV10753.xml
>>>
>>> Sep 17 13:50:20 weather /weewxd[586]: aussearch: xml: 
>>> /var/lib/weewx/aussearch/IDV10753.xml: sent-time: 2020-09-16T19:00:19Z
>>>
>>> Sep 17 13:50:20 weather /weewxd[586]: aussearch: xml: 
>>> ftp://ftp.bom.gov.au/anon/gen/fwo/IDV10753.amoc.xml: sent-time: 
>>> 2020-09-16T19:00:19Z
>>>
>>> Sep 17 13:50:20 weather /weewxd[586]: aussearch: check xml file: 
>>> /var/lib/weewx/aussearch/IDQ11295.xml expires 2020-09-17 06:15:00+00:00
>>>
>>> Sep 17 13:50:21 weather /weewxd[586]: aussearch: xml: checking cache 
>>> sent-time va remote amoc sent-time: IDQ11295.xml
>>>
>>> Sep 17 13:50:22 weather /weewxd[586]: aussearch: xml: 
>>> /var/lib/weewx/aussearch/IDQ11295.xml: sent-time: 2020-09-16T18:40:09Z
>>>
>>> Sep 17 13:50:22 weather /weewxd[586]: aussearch: xml: 
>>> ftp://ftp.bom.gov.au/anon/gen/fwo/IDQ11295.amoc.xml: sent-time: 
>>> 2020-09-16T18:40:09Z
>>>
>>> Susan
>>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/376226fa-eaf2-4092-bf2c-6c5c8bfe56e5n%40googlegroups.com.

Reply via email to