add log to print_error