Enhancement: include celery log in logs view

This commit is contained in:
shamoon 2025-02-17 11:04:19 -08:00
parent de5f66b3a0
commit c125a6004c

View File

@ -1141,7 +1141,7 @@ class UnifiedSearchViewSet(DocumentViewSet):
class LogViewSet(ViewSet):
permission_classes = (IsAuthenticated, PaperlessAdminPermissions)
log_files = ["paperless", "mail"]
log_files = ["paperless", "mail", "celery"]
def get_log_filename(self, log):
return os.path.join(settings.LOGGING_DIR, f"{log}.log")