add DISPLAY and LOG types to definition and configs
make log definition flag functional, add log_all option