enable logging
enable and add logging
add yaml support