Instant remote logging and log rotation with Python.