On Saturday, August 24, 2019 at 8:15:19 PM UTC-4, Vince Skahan wrote:
>
>
> The log format surprised me a bit:
>
> Aug 24 16:00:18 pi4 weewx[17512]/INFO weewx.imagegenerator: Generated 28
> images for SeasonsReport in 1.46 seconds
> Aug 24 16:00:18 pi4 weewx[17512]/INFO weewx.reportengine: copygenerator:
> Copied 0 files to /home/weewx/public_html
>
>
>
how about this:
Aug 24 16:00:18 pi4 weewx[17512] INFO weewx.imagegenerator: Generated 28
images for SeasonsReport in 1.46 seconds
Aug 24 16:00:18 pi4 weewx[17512] INFO weewx.reportengine: copygenerator:
Copied 0 files to /home/weewx/public_html
for any parsers that would be space-delimited lines that look like this:
{datetime} {host} {process_name[process_id]} {log_level} {module: message}
we might consider adding a thread field:
{datetime} {host} {process_name[process_id]} {thread_name} {log_level}
{module: message}
there are posix standards for this, and there are some standard patterns
for easy consumption in elasticsearch and splunk. maybe we should look at
those for guidance?
m
--
You received this message because you are subscribed to the Google Groups
"weewx-development" 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-development/4a679b26-b0cc-4f63-bea0-1f0825518b7c%40googlegroups.com.