Skip to content

Commit

Permalink
feat: add logs to see values
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzawaleed01 committed Jan 24, 2024
1 parent e26205b commit 785fecc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion integrated_channels/cornerstone/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,11 @@ def get(self, request, *args, **kwargs):
f'fixing modified/header mismatch')
if_modified_since_dt = datetime.datetime.fromtimestamp(if_modified_since)
item['LastModifiedUTC'] = if_modified_since_dt.strftime(ISO_8601_DATE_FORMAT)

# TODO remove following logs (temporarily added)
logger.info(
f"[Cornerstone]: request.headers={request.headers}"
f"GET params={request.GET}"
f"enterprise_config={enterprise_config}"
f"data={data}"
)
return Response(data)

0 comments on commit 785fecc

Please sign in to comment.