edit post Log Rotation

change title and add code