log system fixed