Commit 2d52309e authored by Wade's avatar Wade

print startup param

parent 251ec8e7
......@@ -74,6 +74,20 @@ func main() {
loggingInit()
// Log all flag values
log.Info().
Str("ollama_server_address", *ollamaServerAddress).
Str("deepseek_api_key", *deepseekAPIKey).
Str("milvus_addr", *milvusAddr).
Str("graphrag_addr", *graphragAddr).
Str("googleai_api_key", *googleAIApiKey).
Str("pg_conn_string", *pgConnString).
Str("tencentcloud_secret_id", *tencentcloudSecretID).
Str("tencentcloud_secret_key", *tencentcloudSecretKey).
Bool("debug", *debug).
Msg("Startup parameters")
if *debug {
zerolog.SetGlobalLevel(zerolog.DebugLevel)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment