Script for tracking redo log switches