mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
Enhancement: include celery log in logs view (#9214)
This commit is contained in:
parent
047f7c3619
commit
3104417076
1 changed files with 1 additions and 1 deletions
|
|
@ -1194,7 +1194,7 @@ class UnifiedSearchViewSet(DocumentViewSet):
|
||||||
class LogViewSet(ViewSet):
|
class LogViewSet(ViewSet):
|
||||||
permission_classes = (IsAuthenticated, PaperlessAdminPermissions)
|
permission_classes = (IsAuthenticated, PaperlessAdminPermissions)
|
||||||
|
|
||||||
log_files = ["paperless", "mail"]
|
log_files = ["paperless", "mail", "celery"]
|
||||||
|
|
||||||
def get_log_filename(self, log):
|
def get_log_filename(self, log):
|
||||||
return os.path.join(settings.LOGGING_DIR, f"{log}.log")
|
return os.path.join(settings.LOGGING_DIR, f"{log}.log")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue