#14 Making log system