Writing a python file rotating logger
The standard python logging support multiple log handler. In this post, I will guide you to write and use the File rotating handler to write the log to file, but always make sure it will only keeps a maximum footprint of disk space.