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

[sophora-importer] update logback configuration for Spring 6 compatibility #125

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/sophora-importer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.3.1
version: 1.3.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 4 additions & 6 deletions charts/sophora-importer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,12 @@ logbackXml: |
<jmxConfigurator/>

<appender name="jsonConsoleAppender" class="ch.qos.logback.core.ConsoleAppender">
<filter class="ch.qos.logback.core.filter.EvaluatorFilter">
<evaluator>
<!-- No log messages marked as 'SPECIAL_EMAIL_NOTIFICATION' should be shown. -->
<expression>marker != null &amp;&amp; marker.getName().equals("SPECIAL_EMAIL_NOTIFICATION")</expression>
</evaluator>
<!-- No log messages marked as 'SPECIAL_EMAIL_NOTIFICATION' should be shown. -->
<turboFilter class="ch.qos.logback.classic.turbo.MarkerFilter">
<Marker>SPECIAL_EMAIL_NOTIFICATION</Marker>
<OnMismatch>NEUTRAL</OnMismatch>
<OnMatch>DENY</OnMatch>
</filter>
</turboFilter>
<encoder class="net.logstash.logback.encoder.LogstashEncoder" />
</appender>

Expand Down
Loading