Shutdown alarm bug fix
Data logging separate file