True. It would only work under Python 2.

Fixed in commit e12237c
<https://github.com/weewx/weewx/commit/e12237c26dcb81c5cc349a827d9a64d3bacbeba2>

-tk

On Sun, Jan 3, 2021 at 9:59 AM Brad Furman <bdfur...@gmail.com> wrote:

> Thanks Tom. BTW, the example shown on the help docs for modifying an
> existing service is incorrect.
> http://weewx.com/docs/customizing.htm#Customizing_a_service
>
> The print statement in this example needs to be encapsulated in
> parentheses.
>
> On Sun, Jan 3, 2021 at 8:47 AM Tom Keffer <tkef...@gmail.com> wrote:
>
>> Unfortunately, there are no options to do that. You'd have to
>> replace StdPrint with your own service .
>>
>> On Sat, Jan 2, 2021 at 9:12 PM bdf0506 <bdfur...@gmail.com> wrote:
>>
>>> My log file is far too noisy in my docker implementation of wee
>>> experience, so I’m looking for a quick and easy way to only print the
>>> archive packets with StdPrint and then only print loop packets if debug is
>>> enabled. Is this easily possible? Or will I have to create my own service
>>> to run, as described in the customization guide?
>>>
>>> Thanks in advance!
>>>
>>> --
>>> 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/75d759a9-9e93-4c8e-b6b9-e4a2ec8fe8f8n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/75d759a9-9e93-4c8e-b6b9-e4a2ec8fe8f8n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/weewx-user/i1gVISpngc4/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/CAPq0zEByrhqfkQT6tKi7bznYPGRuCtNH2y_aOgZL6R7E1AkmJg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEByrhqfkQT6tKi7bznYPGRuCtNH2y_aOgZL6R7E1AkmJg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Brad Furman
> bdfur...@gmail.com
>
> --
> 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/CAEwo8bL05C-ce3ZMfLH_smsF_PKKfacPdwsBZ1pbB0oJDa2huQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAEwo8bL05C-ce3ZMfLH_smsF_PKKfacPdwsBZ1pbB0oJDa2huQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEC1Qr-7rBXLheA%3DuPVV_BOp0%2Bj4%3Dg1oeYwOu8qSJqNknQ%40mail.gmail.com.

Reply via email to