Add log system like Apache/Printf