Added LOG_SWITCH event
Ready to compile for LSF9