mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-04 23:00:30 +08:00
Go: refactor log and config (#17684)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@ func main() {
|
||||
logLevel = "info"
|
||||
}
|
||||
|
||||
if err = common.Init(logLevel, common.FileOutput{}, "ragflow-cli"); err != nil {
|
||||
if err = common.InitLogger(logLevel, common.FileOutput{}, "ragflow-cli"); err != nil {
|
||||
fmt.Printf("Warning: Failed to initialize logger: %v\n", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user