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

feat(dss): Logging to json for compact single-line logs #20

Closed
wants to merge 6 commits into from

Conversation

AndesKrrrrrrrrrrr
Copy link
Member

No description provided.

pom.xml Outdated
@@ -47,6 +47,8 @@

<slf4j.version>2.0.7</slf4j.version>
<logback-classic.version>1.3.7</logback-classic.version> <!-- Version 1.4+ supports only Java 11+ -->
<groupId>net.logstash.logback</groupId>
Copy link
Collaborator

@bsanchezb bsanchezb Jan 11, 2024

Choose a reason for hiding this comment

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

No need to define <groupId> in here

<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<prefix class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>${DD_API_KEY} %mdc{keyThatDoesNotExist}</pattern>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm confused about the pattern here. Why to print keys?

bsanchezb added a commit to bsanchezb/digital-signature-service that referenced this pull request Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants