If memory serves correctly,  you get this behaviour when the code
exclusively uses syslog for logging, and you are running the SLE under
4.x

The linked version of ausearch.py isn't coded with the newer
weeutil.logger alternative (see wiki link below)

ie:- if it has the 'new-style weewx logging' it aligns itself in the
same style / format as the rest of the weewx4.x logs.  If it's only
the syslog module only then it shows as /weewxd.
It also fixes the errant DEBUG output. (when debug=0)

https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging

That link has a section at the end under "Maintaining backwards
compatibility" which shows the code style that will incorporate both
syslog and weeutil.logger style.
However, the way ausearch.py has been coded requires a little more
work that just dropping that code into it. There are 18 odd syslog
statements that would need tweaking.



On 17/09/2020, Greg from Oz <ubeau...@gmail.com> wrote:
> The logging has /weewxd and not weewx like the rest of the logs:
> Sep 17 19:21:12 jed164* /weewxd:* aussearch: check json file:
> /var/lib/weewx/aussearch/IDN60801.94746.json expires 2020-09-17
> 09:35:00+00:00
> Sep 17 19:21:13 jed164 /weewxd: historygenerator.py: Generated 6 tables in
> 0.52 seconds
> Sep 17 19:21:13 jed164* weewx[*292601] INFO weewx.cheetahgenerator:
> Generated 13 files for report StandardReport in 2.05 seconds
> Sep 17 19:21:14 jed164 weewx[292601] INFO weewx.imagegenerator: Generated
> 14 images for report StandardReport in 0.36 seconds
>
> Don't know if that is a clue or not.
>
>
> On Thursday, 17 September 2020 at 19:19:28 UTC+10 Greg from Oz wrote:
>
>> 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/0df80d45-a3bf-43a0-be80-507dc971c48an%40googlegroups.com.
>


-- 


Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

-- 
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/CAAraAzikgfV-BSSe_%2Bb13WZfZZbFrF1O3Q4h_dqmeCZ5swYdag%40mail.gmail.com.

Reply via email to