aquanauts / alogamous

A log anomaly detection framework
MIT License
1 stars 9 forks source link

Adding input and output files #40

Closed kitrady closed 4 months ago

kitrady commented 4 months ago

I replaced standard in with the example log files and created another file for reports to go in to replace standard out. I also wrote "\n>>>>>>>>>> a report has been reported <<<<<<<<<<\n" to the out_stream after each analyzer reports so that the output file is more readable; I'm sure we'll want to have something more formal/descriptive later, but I just wanted to add something for now.

kitrady commented 4 months ago

Adding the "a report has been reported" message made the echo analyzer test fail because it ran the analyze_log_stream method instead of the echo analyzer read_log_line and report methods, so I changed that. I also wrote a dedicated test for analyze_log_stream as Ben said that was the original reason he wrote the echo analyzer.