Skip to content
Snippets Groups Projects
Commit d67a475f authored by Megan Henning's avatar Megan Henning
Browse files

Re-add check for enabled

parent c7c042b4
No related branches found
No related tags found
No related merge requests found
......@@ -343,6 +343,9 @@ class RequestHandler(webapp2.RequestHandler):
def log_user_access(self, access_type, cont_name=None, cont_id=None):
if not config.get_item('core', 'access_log_enabled'):
return
log_map = {
'access_type': access_type.value,
'request_method': self.request.method,
......
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