From a5f5e1162bace2dd2e3e237f74a8941bbbbc4537 Mon Sep 17 00:00:00 2001 From: Sayyid Hamid Mahdavi Date: Tue, 9 Dec 2025 11:12:42 +0330 Subject: [PATCH] logger --- accounts/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/settings.py b/accounts/settings.py index 8a2bc14..718f280 100644 --- a/accounts/settings.py +++ b/accounts/settings.py @@ -302,7 +302,7 @@ LOGGING = { 'timeout': 2, # Post request timeout, default is 0.5. Optional 'url': f'{LOKI_BASE_PUBLIC_URL}/loki/api/v1/push', # Loki url. Defaults to localhost. Optional. # 'auth': ("user", "password"), # Basic auth to authenticate with loki. Default is None (i.e. no auth). Optional - 'tags': {"app": "wallet"}, # Tags / Labels to attach to the log. Optional, but strongly encoraged to use. + 'tags': {"app": "accounts"}, # Tags / Labels to attach to the log. Optional, but strongly encoraged to use. 'mode': 'thread', # Push mode. Can be 'sync' or 'thread'. Sync is blocking, thread is non-blocking. Defaults to sync. Optional. }, 'console': {