add log system
add log system