* * add --log-disable to disable logging to file in the server example
* * typo fix
printf(" -spf FNAME, --system-prompt-file FNAME\n");
printf(" Set a file to load a system prompt (initial prompt of all slots), this is useful for chat applications.\n");
printf(" --mmproj MMPROJ_FILE path to a multimodal projector file for LLaVA.\n");
+ printf(" --log-disable disables logging to a file.\n");
printf("\n");
}
}
params.mmproj = argv[i];
}
+ else if (arg == "--log-disable")
+ {
+ log_set_target(stdout);
+ LOG_INFO("logging to file is disabled.", {});
+ }
else
{
fprintf(stderr, "error: unknown argument: %s\n", arg.c_str());