switched error logging to new log system