Skip to content

Commit

Permalink
Fix for worker celery logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanKarab authored Nov 28, 2024
1 parent ad94560 commit 15fb30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exareme2/worker/utils/celery_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
def setup_celery_logging(*args, **kwargs):
logger = logging.getLogger()
formatter = logging.Formatter(
f"%(asctime)s - %(levelname)s - CELERY FRAMEWORK - [{worker_config.federation}] - [exareme2-controller] - [{worker_config.identifier}] - [FRAMEWORK] - %(message)s"
f"%(asctime)s - %(levelname)s - CELERY FRAMEWORK - [{worker_config.federation}] - [exareme2-{worker_config.role.lower()}] - [{worker_config.identifier}] - [FRAMEWORK] - %(message)s"
)

# StreamHandler
Expand Down

0 comments on commit 15fb30c

Please sign in to comment.