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

Incorrect information in logs #134

Open
benhumphry opened this issue Jan 17, 2025 · 0 comments
Open

Incorrect information in logs #134

benhumphry opened this issue Jan 17, 2025 · 0 comments

Comments

@benhumphry
Copy link

benhumphry commented Jan 17, 2025

(first of all, thank-you for a great and useful tool!)

paperless-gpt  | Version: v0.9.0
paperless-gpt  | Commit: 6b02b19db292f0aa10103c0fa55d464814195e99
paperless-gpt  | Build Date: 1736781970
paperless-gpt  | Platform: linux/amd64
paperless-gpt  | Go Version: go1.23.4

I've noticed that when paperless-gpt behaves correctly and replaces the title / tags of a document, the logs seem to incorrectly reflect this...

ie. the INFO log says the old title/tags have been replaced with the OLD title/tags (they haven't - they have been correctly replaced with the new versions).

For example, I see:

paperless-gpt  | time="2001-01-01T11:00:15Z" level=info msg="Processing Document ID XXX..." document_id=XXX
paperless-gpt  | time="2001-01-01T11:00:17Z" level=info msg="Suggested title for document XXX: NEW_TITLE" document_id=XXX
paperless-gpt  | time="2001-01-01T11:00:17Z" level=info msg="Suggested tags for document XXX: [newtag1 newtag2 newtag3]" document_id=XXX
paperless-gpt  | time="2001-01-01T11:00:17Z" level=info msg="Suggested correspondent for document XXX: NewCorrespondant"
paperless-gpt  | time="2001-01-01T11:00:17Z" level=info msg="Document XXX processed successfully." document_id=XXX
paperless-gpt  | time="2001-01-01T11:00:18Z" level=info msg="Document XXX: Updated title from OLD_TITLE to OLD_TITLE"
paperless-gpt  | time="2001-01-01T11:00:18Z" level=info msg="Document XXX: Updated tags from [oldtag1 oldtag2 oldtag3] to [oldtag1 oldtag2 oldtag3]"
paperless-gpt  | time="2001-01-01T11:00:18Z" level=info msg="Document XXX updated successfully."
paperless-gpt  | time="2001-01-01T11:00:18Z" level=info msg="Successfully processed document" document_id=XXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant