Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Partition
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Partition
Commits
80fedfd8
Commit
80fedfd8
authored
4 years ago
by
Anastasiia Gelmut
Browse files
Options
Downloads
Patches
Plain Diff
GONRG-1781 Implement Logic For Partition
* Added logback.xml * Updated pom
parent
ab9ac712
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!47
Authentication for PartitionService to work under SA(GONRG-1843)
,
!45
(GONRG-2074) GCP incorrect response
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
provider/partition-gcp/pom.xml
+7
-1
7 additions, 1 deletion
provider/partition-gcp/pom.xml
provider/partition-gcp/src/main/resources/logback.xml
+36
-0
36 additions, 0 deletions
provider/partition-gcp/src/main/resources/logback.xml
with
43 additions
and
1 deletion
provider/partition-gcp/pom.xml
+
7
−
1
View file @
80fedfd8
...
...
@@ -27,7 +27,13 @@
<dependency>
<groupId>
org.opengroup.osdu
</groupId>
<artifactId>
core-lib-gcp
</artifactId>
<version>
0.3.25
</version>
<version>
0.6.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
ch.qos.logback.contrib
</groupId>
<artifactId>
logback-json-classic
</artifactId>
<version>
0.1.5
</version>
</dependency>
<!-- Third party Apache 2.0 license packages -->
...
...
This diff is collapsed.
Click to expand it.
provider/partition-gcp/src/main/resources/logback.xml
0 → 100644
+
36
−
0
View file @
80fedfd8
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include
resource=
"org/springframework/boot/logging/logback/defaults.xml"
/>
<springProfile
name=
"local"
>
<appender
name=
"CONSOLE"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
<pattern>
%yellow([%thread]) %highlight(| %-5level |) %green(%d) %cyan(| %logger{15} |) %highlight(%msg) %n
</pattern>
<charset>
utf8
</charset>
</encoder>
</appender>
<root
level=
"DEBUG"
>
<appender-ref
ref=
"CONSOLE"
/>
</root>
</springProfile>
<springProfile
name=
"!local"
>
<appender
name=
"stdout"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder
class=
"ch.qos.logback.core.encoder.LayoutWrappingEncoder"
>
<layout
class=
"ch.qos.logback.contrib.json.classic.JsonLayout"
>
<timestampFormat>
yyyy-MM-dd HH:mm:ss.SSS
</timestampFormat>
<timestampFormatTimezoneId>
Etc/UTC
</timestampFormatTimezoneId>
<appendLineSeparator>
true
</appendLineSeparator>
<jsonFormatter
class=
"org.opengroup.osdu.core.gcp.logging.formatter.GoogleJsonFormatter"
>
<prettyPrint>
false
</prettyPrint>
</jsonFormatter>
</layout>
</encoder>
</appender>
<root
level=
"debug"
>
<appender-ref
ref=
"stdout"
/>
</root>
</springProfile>
</configuration>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment