ncss-tech/SoilKnowledgeBase

Logging for `create_*` processes

brownag opened this issue · 0 comments

Capture stdout and send to a logs folder, one file for each create_* method that is automatically called by SoilKnowledgeBase::refresh()

For instance, various messages are printed during the create_OSD process that parses text files from the OSDRegistry snapshot into JSON (with standard "named" sections, combined using heuristics)

Check Section Headings: OSD/G/GORGONIO.txt
Check Section Headings: OSD/H/HAPPYISLES.txt
Check Section Headings: OSD/H/HARDSCRABBLE.txt
Check Line 1 LOCATION: OSD/H/HARTLESS.txt
Check Section Headings: OSD/K/KOONICH.txt
Check Section Headings: OSD/K/KUSKOKWIM.txt

I have not done anything too sophisticated with this -- more information could likely be provided as output. But at a minimum these things need to be tracked down and either refined in the algorithm or the OSDs themselves.