ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: How to view cron_logger logs

Open Nuclear6 opened this issue 1 year ago • 2 comments

Describe your problem

Use this command to view the logs docker logs -f ragflow-server. You can only see the GET and POST request information, but cannot view the log information corresponding to cron_logger. How can I configure it to view the logs corresponding to the cron_logger log component?

PS:What I am more doubtful about is why 680 question and answer pairs are split into 473 blocks. I see that even after removing the code, the question and answer pairs are not filtered and merged. Why are some question and answer pairs missing?

image

Nuclear6 avatar May 13 '24 08:05 Nuclear6

To see cron_logger.log, tail -f docker/ragflow-log/api/cron_logger.log

I guess there're a lot of duplicated questions.

KevinHuSh avatar May 13 '24 08:05 KevinHuSh

What do you mean there are a lot of duplicate questions here? When I searched for cron_logger, Only I have this cron_logger problem. Are you talking about the number of blocks? Why does the log show 680 blocks but the interface shows only 473 blocks? image

Nuclear6 avatar May 13 '24 09:05 Nuclear6

What do you mean there are a lot of duplicate questions here? When I searched for cron_logger, Only I have this cron_logger problem. Are you talking about the number of blocks? Why does the log show 680 blocks but the interface shows only 473 blocks? image

Sorry, I didn't make myself clear. I mean in your data set. there're must be alot of duplicated records.

KevinHuSh avatar May 15 '24 00:05 KevinHuSh