The User's Guide has gotten big and bloated, so a lot of these things are in the Wiki now. It's worth looking around.
On Sat, Jun 25, 2022 at 5:24 PM Stefano Vittorio Porta <[email protected]> wrote: > Thanks Tom and Vince, I really appreciate your help in suggesting and > testing this solution, which works great also with s6. > I'm just wondering why it isn't (at least from looking around) in the User's > guide <https://weewx.com/docs/usersguide.htm>... I believe it is > something that more people could need! > Anyway, I'm happy for a solution way simpler than I imagined. > > Have a great weekend! > ~ Stefano > > Il giorno venerdì 24 giugno 2022 alle 22:44:41 UTC+2 [email protected] ha > scritto: > >> 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/8bece9a9-8246-4d0d-9b7a-6d7bdefbab4an%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/8bece9a9-8246-4d0d-9b7a-6d7bdefbab4an%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/CAPq0zEB%2BCdiZJHjjTFPrzHY2vS%3D-Tj6DqFwHa%3D20QH_k2aiyXA%40mail.gmail.com.
