Also capture the paperless.classifier log, in case of anything from there

This commit is contained in:
Trenton H
2026-03-13 09:40:59 -07:00
parent c7d4fb1f8b
commit 67362ba1c1

View File

@@ -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}"),