Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]:How to set up log level to debug #4530

Open
senovr opened this issue Jan 18, 2025 · 0 comments
Open

[Question]:How to set up log level to debug #4530

senovr opened this issue Jan 18, 2025 · 0 comments
Labels
question Further information is requested

Comments

@senovr
Copy link

senovr commented Jan 18, 2025

Describe your problem

Hi,
As I asked in #4476 , can you please clarify:
Is it possible to set ragflow log level to DEBUG globally?
As it is written in .env file, I uncommented the row:
# LOG_LEVELS=ragflow.es_conn=DEBUG

and got the following (and only following) in the ragflow log:

ragflow_server log path: /ragflow/logs/ragflow_server.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}

No any other DEBUG messages. Everything is still at INFO level.

Can you please explain what I need to change in .env file, to see debug messages?

@senovr senovr added the question Further information is requested label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant