Skip to content
rcowham edited this page Oct 2, 2019 · 3 revisions

Welcome to the go-libp4dlog wiki! This library/project was based on existing Python parsing library which itself was based on PHP/Ruby versions. The challenge with p4d text log parsing is that has idiosyncrasies and inconsistencies. P4d has long provided structured logs (CSV mainly, although other formats such as JSON also available if buggy). However not all information is written to said structured logs, and they are also split between files and not so easy to configure making it easy for users not to get the right information. The text log is easier to turn on and leave. There are enhancements to structured logs coming which will tilt the world in that direction, and this library will be enhanced to support them. Even with structured logs you need to still match begin/end records and do things like subtract start time from end time to get lapsed time.

Clone this wiki locally