From 67362ba1c152f7b49ce507372288cbbd8854dc67 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Fri, 13 Mar 2026 09:40:59 -0700 Subject: [PATCH] Also capture the paperless.classifier log, in case of anything from there --- .../management/commands/document_create_classifier.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/documents/management/commands/document_create_classifier.py b/src/documents/management/commands/document_create_classifier.py index eb642d8a7..b662195a7 100644 --- a/src/documents/management/commands/document_create_classifier.py +++ b/src/documents/management/commands/document_create_classifier.py @@ -17,7 +17,10 @@ class Command(PaperlessCommand): def handle(self, *args, **options) -> None: start = time.monotonic() - with self.buffered_logging("paperless.tasks"): + with ( + self.buffered_logging("paperless.tasks"), + self.buffered_logging("paperless.classifier"), + ): train_classifier( scheduled=False, status_callback=lambda msg: self.console.print(f" {msg}"),