Debug log system added