Ah! Sorry! There are settings for Mosquitto logging. See https://mosquitto.org/man/mosquitto-conf-5.html
Regards, Garry Lockyer C: +1.250.689.0686 E: [email protected] > On Oct 29, 2020, at 14:08, 'Andy Hudson-Smith' via weewx-user > <[email protected]> wrote: > > > Its not the weewx logs that are bothering me - its the mqtt logs, connecting > and disconnecting is filling them up - mqtt is something that is made to > remain connected to reduce load so I'm not sure it disconnects after every > loop? > > Andy > >> On Thu, 29 Oct 2020 at 17:24, Garry A Lockyer <[email protected]> >> wrote: >> Change the logging level in weewx.conf for MQTT so that routine events are >> not logged. I usually set everything to WARNING, unless I’m working on a >> specific problem or subsystem. >> >> Regards, >> >> Garry Lockyer >> C: +1.250.689.0686 >> E: [email protected] >> >> >> > On Oct 29, 2020, at 10:17, Greg Troxel <[email protected]> wrote: >> > >> > >> > "'[email protected]' via weewx-user" >> > <[email protected]> writes: >> > >> >> Using the MQTT extension, all is working but i note in my mqtt logs weex >> >> connects and the disconnects on every send. I would have thought the mqtt >> >> would stay connected? Its kind of filling up my log file so any thoughts >> >> would be great - is this normal? >> >> >> >> 2020-10-29 14:31:28: New client connected from 147.147.209.132 as >> >> weewx_50f0a7c2 (c1, k60, u''). 2020-10-29 14:31:28: Client weewx_50f0a7c2 >> >> disconnected. >> > >> > That's what mine looks like too. >> > >> > Agreed it would be great if someone(tm) wrote a patch to keep the >> > connection open, and did it correctly so that after arbitrary errors it >> > recovers. >> > >> > -- >> > 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/rmimu05ostb.fsf%40s1.lexort.com. >> >> -- >> 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/lNdYh-aPuos/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/B86E40BE-26D2-4263-83D2-457E319C5CA4%40gmail.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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAOdDda8Tc_3gU8bsu50yRV7QoX%2BKG_-6DHO%2B_HCCU2%2Bi3%3DvAyQ%40mail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5FE8CE80-9B89-4912-AAC8-F0802549C666%40gmail.com.
