add log commands and options