adding try/catch around appending to keep the logger from downing the app