Added led error
Fixed file name of log file causing long filename errors