add comments
add get/set log level