add log_handler command + logic