[JP] Writing rotate command to log