tried the logging and the example in data across rotation