mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fixed log not displaying (#3946)
### What problem does this PR solve? Fixed log not displaying ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -18,10 +18,11 @@
|
||||
# from beartype.claw import beartype_all # <-- you didn't sign up for this
|
||||
# beartype_all(conf=BeartypeConf(violation_type=UserWarning)) # <-- emit warnings from all code
|
||||
|
||||
from api.utils.log_utils import initRootLogger
|
||||
initRootLogger("ragflow_server")
|
||||
|
||||
import logging
|
||||
import os
|
||||
from api.utils.log_utils import initRootLogger
|
||||
|
||||
import signal
|
||||
import sys
|
||||
import time
|
||||
@ -41,9 +42,6 @@ from api.versions import get_ragflow_version
|
||||
from api.utils import show_configs
|
||||
from rag.settings import print_rag_settings
|
||||
|
||||
LOG_LEVELS = os.environ.get("LOG_LEVELS", "")
|
||||
initRootLogger("ragflow_server", LOG_LEVELS)
|
||||
|
||||
|
||||
def update_progress():
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user