Log formatting with colors for python
The colorlog.ColoredFormatter is a formatter for use with Python's logging module that outputs records using terminal colors.
colorlog.ColoredFormatter