log_default_hook was renamed to log_default