Added log system.