-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4529716
commit 7739ae6
Showing
4 changed files
with
32 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ src-gen/ | |
.idea/ | ||
*.ipr | ||
*.iws | ||
out/ | ||
|
||
# vscode parts | ||
.vscode/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
sechub-wrapper-prepare/src/main/resources/logback-spring.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE xml> | ||
|
||
<configuration> | ||
<statusListener class="ch.qos.logback.core.status.NopStatusListener" /> | ||
<include resource="org/springframework/boot/logging/logback/defaults.xml" /> | ||
<include resource="org/springframework/boot/logging/logback/console-appender.xml" /> | ||
|
||
<springProperty name="springApplicationName" source="spring.application.name"/> | ||
|
||
<appender name="LOGSTASH_JSON" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder class="net.logstash.logback.encoder.LogstashEncoder"> | ||
<!-- | ||
see https://github.com/logstash/logstash-logback-encoder#custom-fields | ||
<customFields>{"sechub_trace_id":"${springApplicationName:-}"}</customFields> | ||
--> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="org.hibernate" level="${SYSTEM_LOG_LEVEL:-WARN}"/> | ||
<logger name="org.springframework" level="${SYSTEM_LOG_LEVEL:-WARN}"/> | ||
<logger name="org.flywaydb" level="${SYSTEM_LOG_LEVEL:-WARN}"/> | ||
|
||
<logger name="com.mercedesbenz" level="${APP_LOG_LEVEL:-INFO}"/> | ||
|
||
<root level="${DEFAULT_LOG_LEVEL:-INFO}"> | ||
<appender-ref ref="${LOGGING_TYPE:-CONSOLE}" /> | ||
</root> | ||
|
||
</configuration> |
This file was deleted.
Oops, something went wrong.