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

Improve data warehouse export logging #1223

Merged
merged 11 commits into from
Jan 24, 2020
Merged

Conversation

jtpalmer
Copy link
Contributor

Description

Adds additional logging and improves existing logging to add more details.

Motivation and Context

The logged information is necessary to provide details on the use of the data warehouse export features.

https://app.asana.com/0/15230011293693/1146676887787307

Tests performed

No tests

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@jtpalmer jtpalmer added enhancement Enhancement of the functionality of an existing feature Category:Data Warehouse Export Data Warehouse Export labels Jan 24, 2020
@jtpalmer jtpalmer added this to the 9.0.0 milestone Jan 24, 2020
@@ -16,6 +16,15 @@

class BatchProcessor extends Loggable
{
// Constants used in log messages.
const LOG_MODULE_KEY = 'module';
Copy link
Member

Choose a reason for hiding this comment

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

lolzers the name of the constant is longer that the value!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also, "module" is probably a poor choice since we're using that to mean something else. Let me know if you have any other suggestions. I'm trying to group these messages since they include some that could be run by both the web server and the batch process.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jtpalmer jtpalmer merged commit a8069b9 into ubccr:xdmod9.0 Jan 24, 2020
@jtpalmer jtpalmer deleted the dwe-logging branch January 24, 2020 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Data Warehouse Export Data Warehouse Export enhancement Enhancement of the functionality of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants