log system errors