Skip to content

Commit def5404

Browse files
authored
common: add LLAMA_LOG_FILE env var (#17609)
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
1 parent fa04659 commit def5404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/arg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2639,7 +2639,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
26392639
[](common_params &, const std::string & value) {
26402640
common_log_set_file(common_log_main(), value.c_str());
26412641
}
2642-
));
2642+
).set_env("LLAMA_LOG_FILE"));
26432643
add_opt(common_arg(
26442644
{"--log-colors"}, "[on|off|auto]",
26452645
"Set colored logging ('on', 'off', or 'auto', default: 'auto')\n"

0 commit comments

Comments
 (0)