Unfortunately, that wiki example is also wrong. The default is to log to
syslog, not to rotating log files.

Corrected.

-tk

On Fri, Jun 24, 2022 at 11:03 AM vince <[email protected]> wrote:

> Thanks Tom - FWIW, I can confirm that if you cut+paste the whole
> 'Defaults' section from that wiki page into weewx.conf, the result is that
> weewx just emits the loop messages when you run weewxd interactively, and
> everything else quiets down.  Tested on 4.8.0 and debian10 in Docker.
>
> On Friday, June 24, 2022 at 4:36:12 AM UTC-7 Tom Keffer wrote:
>
>> Yes. See the wiki article *WeeWX v4 and logging
>> <https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging>.*
>>
>> It should be as simple as adding this to weewx.conf (NOT TESTED):
>>
>> [Logging]
>>   [[root]]
>>     handlers = console,
>>
>>
>> On Thu, Jun 23, 2022 at 11:31 PM Stefano Vittorio Porta <
>> [email protected]> wrote:
>>
>>> Yup, it looks like it is indeed syslog which was missing.
>>> Unfortunately I will have to run it in homeassistant which uses s6 as
>>> base image and it doesn't support syslog. Is there any way to disable
>>> syslog logging and redirect it to the console?
>>>
>>
>>> Il giorno giovedì 16 giugno 2022 alle 23:37:34 UTC+2 vince ha scritto:
>>>
>>>> I think you need a syslog daemon running.  I've run into that
>>>> previously in Docker with debian(ish) os.
>>>>
>>>> On Thursday, June 16, 2022 at 1:19:28 PM UTC-7 [email protected]
>>>> wrote:
>>>>
>>>>> Hi everyone,
>>>>> I am new to weewx, however today I managed to get it to work (kind of)
>>>>> in an Alpine docker image that I'm preparing to use as an addon in Home
>>>>> Assistant.
>>>>>
>>>>> Right now with a Simulator station (as I'm waiting for mine to arrive)
>>>>> I get in the logs all the data that the station produces, however the 
>>>>> issue
>>>>> is that when I start and terminate weewx I get a *long* error that
>>>>> concerns logging, and I'm not sure what is the cause.
>>>>>
>>>>> Here <https://pastebin.com/PQSVeT8u> you can find the log, while here
>>>>> <https://pastebin.com/bjwmBYjg>'s my configuration, which should be
>>>>> pretty standard.
>>>>> Finally, for anyone interested (if can be of any help), here
>>>>> <https://pastebin.com/08wkMhw8>'s my dockerfile.
>>>>>
>>>>> The errors aren't exactly a big deal, however I'd love to get rid of
>>>>> them. Does anybody know a way to do so?
>>>>>
>>>>> Thanks!
>>>>>
>>>> --
>>> 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].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/d0f48b2b-7c37-4f4e-8a44-d364eeb56bccn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/d0f48b2b-7c37-4f4e-8a44-d364eeb56bccn%40googlegroups.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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/f7cf45c1-d9d8-43d7-b55d-7d53acc85cbfn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/f7cf45c1-d9d8-43d7-b55d-7d53acc85cbfn%40googlegroups.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEC8TRvCXFscB7-quzE7m8qwiX6eyn%3DjA4Wja04JmADwHQ%40mail.gmail.com.

Reply via email to