Fixed more syntax errors in loggly_handler