adapt config and generation to use the log system