Skip to content
Snippets Groups Projects
Commit bbaad98f authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Adding logging to a few functions

parent 772564e1
No related branches found
No related tags found
No related merge requests found
# Needed because our local events and superevents modules (for the API) # Needed because our local events and superevents modules (for the API)
# shadow the names of the events and superevents apps. # shadow the names of the events and superevents apps.
from __future__ import absolute_import from __future__ import absolute_import
import logging
from django.conf import settings from django.conf import settings
from django.contrib.auth.models import Group as AuthGroup from django.contrib.auth.models import Group as AuthGroup
...@@ -20,6 +21,9 @@ from events.view_logic import get_performance_info ...@@ -20,6 +21,9 @@ from events.view_logic import get_performance_info
from superevents.models import Superevent from superevents.models import Superevent
from ..superevents.url_templates import construct_url_templates from ..superevents.url_templates import construct_url_templates
# Set up logger
logger = logging.getLogger(__name__)
class TagList(APIView): class TagList(APIView):
"""Tag List Resource """Tag List Resource
......
import logging
# Set up logger
logger = logging.getLogger(__name__)
class XForwardedForMiddleware(object): class XForwardedForMiddleware(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment