improved exception log system