teragrep / cfe_16

HTTP Event Capture to Syslog bridge
GNU Affero General Public License v3.0
1 stars 3 forks source link

Adds a bunch of proper logging, replaces all print/println/printStack… #34

Closed StrongestNumber9 closed 3 months ago

StrongestNumber9 commented 3 months ago

…Trace calls with logging statements

Fixes #31

StrongestNumber9 commented 3 months ago

I went with the safe option and didn't add any access tokens to output. I am also not exactly sure what which bits of information are important and/or floody so the choice between debug/trace is fairly arbitrary at this point

kortemik commented 3 months ago

perhaps it would be proper to have somekind of "new client from ip" type of logging, based on guava cache that "if ip in cache, no log, expire cache in 300 seconds -> log expired, otherwise no log as it is a known client" same for a token.