Start code to log device issue