NVISOsecurity / ee-outliers

Open-source framework to detect outliers in Elasticsearch events
https://blog.nviso.eu
GNU General Public License v3.0
204 stars 34 forks source link

General remark, the logger actually has string formatting built in, it results in easier to read code. #83

Closed daanraman closed 5 years ago

daanraman commented 5 years ago

General remark, the logger actually has string formatting built in, it results in easier to read code. E.g.: instead of

logger.info("The number is {0}".format(my_number))

you can use

logger.info("The number is %d", my_number)

Originally posted by @michielmeersmans in https://github.com/NVISO-BE/ee-outliers/pull/70

daanraman commented 5 years ago

Will use this for future logging statements