You are not the only one who cannot get Python logging to work on Sierra <https://apple.stackexchange.com/questions/256769/how-to-use-logger-command-on-sierra>. You're supposed to use commands like:
$log show --predicate 'eventMessage contains "Message4Me"' --last 3m but I have been unable to get that to work for logs written by Python. I debug on Linux, then hope for the best when I port to the Mac. -tk On Mon, May 13, 2019 at 8:42 AM Graham Eddy <[email protected]> wrote: > looking at weewx.restx.StdStationRegistry, i see: > This will periodically do a http GET with the following information: > station_url Should be world-accessible. Used as key. > ... > i have not set station_url so, being the key, its absence might be the > explanation. we shall see > > i have not ignored mwall’s question. i have a big problem in this space - > while i am very familiar with syslogd, the mac does something completely > different with logs and i have yet to figure it out. the best i can do at > present is use Console to monitor all messages, filtered on Python, and i > get (some?) major errors and stack dumps that way. easy to do with syslogd > but the mac’s logging has me baffled. education would be appreciated! > ____________ > *Graham Eddy* > > On 14 May 2019, at 1:18 am, mwall <[email protected]> wrote: > > > > On Monday, May 13, 2019 at 10:42:03 AM UTC-4, Graham Eddy wrote: >> >> >> i enabled weewx registration of the station couple weeks ago but it does >> not appear in the "Stations Running weeWX" map. any idea why? >> https://geddy.com.au/weather >> > > what does the log say? > > > -- > 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/d201a747-cc7b-4ddb-b09e-2d372defe555%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/d201a747-cc7b-4ddb-b09e-2d372defe555%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > 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/62F93C1E-BD50-42BA-8286-69A26793437E%40gmail.com > <https://groups.google.com/d/msgid/weewx-user/62F93C1E-BD50-42BA-8286-69A26793437E%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPq0zED8GcLnpDwGjJ8Ec%3DQ62%2B%2BWUZH9Q4O-Mzo1Sqwwi9NBWA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
