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/CAPq0zED55SJckngY4B1gQh%2BxmiEuHoMgnMf-WzF5bbjB0ftnDA%40mail.gmail.com.