Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Rest Logging to include the username #1809

Merged
merged 9 commits into from
Mar 12, 2024

Conversation

ryanrath
Copy link
Contributor

Description

The username property was not being properly populated for rest request logging. This commit resolves that problem.
I'll also be looking to resolve escaping in the log messages.

Motivation and Context

Tests performed

Checklist:

  • The pull request description is suitable for a Changelog entry
  • The milestone is set correctly on the pull request
  • The appropriate labels have been added to the pull request

@ryanrath ryanrath added data quality Data quality issues such as improvements to sql queries to improve precision or consistency Category:Infrastructure Internal infrastructure updates/changes labels Jan 10, 2024
@ryanrath ryanrath added this to the 11.0.0 milestone Jan 10, 2024
eiffel777
eiffel777 previously approved these changes Jan 11, 2024
- save_cache:
key: v1-el8-dependencies-{{ checksum "composer.json" }}
paths:
- ./vendor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this same section is removed in #1810. Can this be moved into its own PR?

The `username` property was not being properly populated for rest
request logging. This commit resolves that problem.
These changes make checking the contents of `log_table` much easier.
Just updating the username backfill SQL query to use the `JSON_EXTRACT`
function as its more consistent than trying to use `INSTR/SUBSTR`.
@ryanrath ryanrath merged commit 07eb285 into ubccr:xdmod11.0 Mar 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Infrastructure Internal infrastructure updates/changes data quality Data quality issues such as improvements to sql queries to improve precision or consistency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants