I'm using the RotatingFileHandler (https://docs.python.org/2/library/logging.handlers.html) in Python to log messages - is there anyway to do a function callback when the RotatingFileHandler switches to a new file?
For example, I'm logging messages, and when the file rotates I want to process all of the messages using another defined function
Thanks!