You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gents,
I have a rather general question about logging and log level.
Where the logs are stored in each of the containers? I may want to adjust volumes mounting, to keep these logs during containers running.
Logs level.
I read through .env file (specificaly, this section), but still dont get how exactly I should format the section to set log level to debug in each container.
What is possible to log and what is not?
For example, can I log that the user A logged into a system, and talked with knowledge base B using agent C or LLM D ?
Or - how often user A logs into the system? Or- what are the most "popular" knowledge bases users interact with?
Or I can get just "technical" logs from each of the containers?
Thank you in advance
The text was updated successfully, but these errors were encountered:
Gents, I have a rather general question about logging and log level.
Where the logs are stored in each of the containers? I may want to adjust volumes mounting, to keep these logs during containers running.
RAGFlow container Logs is a volume mounted from local directory in docker/docker-compose.yml:
volumes:
- ./ragflow-logs:/ragflow/logs
Other containers logs are printed to container console, and out of control of us.
Logs level.
I read through .env file (specificaly, this section), but still dont get how exactly I should format the section to set log level to debug in each container.
What is possible to log and what is not?
For example, can I log that the user A logged into a system, and talked with knowledge base B using agent C or LLM D ?
Or - how often user A logs into the system? Or- what are the most "popular" knowledge bases users interact with?
Or I can get just "technical" logs from each of the containers?
You need to change code to add logging.info(...) where you need to log and rebuild RAGFlow image. Those info don't occur magically.
Ok, thanks for clarification.
Can you please give more info on how to configure this section of .env file:
# The log level for the RAGFlow's owned packages and imported packages.
# Available level:
# - `DEBUG`
# - `INFO` (default)
# - `WARNING`
# - `ERROR`
# For example, following line changes the log level of `ragflow.es_conn` to `DEBUG`:
# LOG_LEVELS=ragflow.es_conn=DEBUG
if I want to set log level of ragflow to DEBUG, am I need to just put: LOG_LEVELS=DEBUG
or I need to do something else?
Describe your problem
Gents,
I have a rather general question about logging and log level.
Where the logs are stored in each of the containers? I may want to adjust volumes mounting, to keep these logs during containers running.
Logs level.
I read through .env file (specificaly, this section), but still dont get how exactly I should format the section to set log level to debug in each container.
What is possible to log and what is not?
For example, can I log that the user A logged into a system, and talked with knowledge base B using agent C or LLM D ?
Or - how often user A logs into the system? Or- what are the most "popular" knowledge bases users interact with?
Or I can get just "technical" logs from each of the containers?
Thank you in advance
The text was updated successfully, but these errors were encountered: