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 74b1d12
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion integrated_channels/cornerstone/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,12 @@ 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"enterprise_config.id={enterprise_config.id}"
f"data={data}"
)
return Response(data)

0 comments on commit 74b1d12

Please sign in to comment.