Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Partition
Commits
80fedfd8
Commit
80fedfd8
authored
Feb 17, 2021
by
Anastasiia Gelmut
Browse files
GONRG-1781 Implement Logic For Partition
* Added logback.xml * Updated pom
parent
ab9ac712
Changes
2
Hide whitespace changes
Inline
Side-by-side
provider/partition-gcp/pom.xml
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 -->
...
...
provider/partition-gcp/src/main/resources/logback.xml
0 → 100644
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment