log

add the log system