fix print_build_log