Skip to content

Commit

Permalink
fix metrics logger name
Browse files Browse the repository at this point in the history
  • Loading branch information
rstijerina committed Dec 16, 2024
1 parent 8aa9fb4 commit 2e81a8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions designsafe/apps/api/projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from elasticsearch_dsl import Q
from designsafe.apps.api.utils import get_client_ip
logger = logging.getLogger(__name__)
metrics = logging.getLogger('metrics.{name}'.format(name=__name__))
metrics = logging.getLogger("metrics")


def template_project_storage_system(project):
Expand Down Expand Up @@ -439,7 +439,7 @@ def post(self, request, project_id):
6. Set ACLs on the project
7. Email users who have been added to the project
:param request:
:param request:
:return:
"""
"""TODO:
Expand Down
2 changes: 1 addition & 1 deletion designsafe/apps/auth/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from .models import TapisOAuthToken

logger = logging.getLogger(__name__)
METRICS = logging.getLogger(f"metrics.{__name__}")
METRICS = logging.getLogger("metrics")


def logged_out(request):
Expand Down
2 changes: 1 addition & 1 deletion designsafe/apps/workspace/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@


logger = logging.getLogger(__name__)
METRICS = logging.getLogger(f"metrics.{__name__}")
METRICS = logging.getLogger("metrics")

TACC_EXEC_SYSTEMS = {
"corral": {
Expand Down

0 comments on commit 2e81a8e

Please sign in to comment.