Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S Storage
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 56
    • Issues 56
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe Software
  • Platform
  • System
  • Storage
  • Merge requests
  • !139

Logging Enhancements for GCP modules (GONRG-1654, GONRG-1766)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Artem Dobrynin (EPAM) requested to merge gcp-logging-enhancements into master Feb 18, 2021
  • Overview 0
  • Commits 115
  • Pipelines 11
  • Changes 3

Type of change

  • Bug Fix
  • Feature

Some enhancements for GCP logging system. Supplies the logs with user id, data-partition-id and correlation id https://gitlab.opengroup.org/osdu/subcommittees/ea/projects/pre-shipping/home/-/issues/50 https://gitlab.opengroup.org/osdu/subcommittees/ea/projects/pre-shipping/home/-/issues/49

Does this introduce a change in the core logic?

  • [NO]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Does this introduce a breaking change?

  • [NO]

What is the current behavior?

The logs are printed in an unparseable inline format.

What is the new/expected behavior?

The logs are printed in JSON format and compatible with GCP Logger.

Have you added/updated Unit Tests and Integration Tests?

No, since it is not required for these changes

Any other useful information

There are two types of logging: for local Spring profile (spring.profiles.active=local) and for any other, incl. default. This was done for better readability while testing locally.

The MR should be merged after osdu/platform/system/lib/cloud/gcp/os-core-lib-gcp!10 (merged)

Edited Feb 20, 2021 by Artem Dobrynin (EPAM)
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: gcp-logging-enhancements