graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

[Issue]: <title> When running graphrag index --root ./ragtest, it was observed that logs/log.json does not refresh its results over time.

Open JiuliAs opened this issue 11 months ago • 1 comments

Do you need to file an issue?

  • [x] I have searched the existing issues and this bug is not already filed.
  • [x] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
  • [x] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the issue

as title mentioned, log.json not updated its results over time.

This significantly hampers debugging and tracking the status and error messages of the index. Additionally, could a complete date and timestamp be added to the indexing-engine.log? Could a timestamp also be added to

logs.json?

Steps to reproduce

running index procedure

GraphRAG Config Used

# Paste your config here

Logs and screenshots

Image

Image

Additional Information

  • GraphRAG Version:1.2.0
  • Operating System:Windows
  • Python Version:3.12
  • Related Issues:

JiuliAs avatar Jan 22 '25 06:01 JiuliAs

The issue arises because the overall runtime is too long, and I want to see detailed error messages and content. However, I noticed that logs.json does not update its content in real time.

JiuliAs avatar Jan 22 '25 06:01 JiuliAs

The logs in indexing-engine.log provide much more detail than logs.json, and will update as the system progresses.

natoverse avatar Jun 23 '25 22:06 natoverse