-
Notifications
You must be signed in to change notification settings - Fork 59
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
Showing
10 changed files
with
508 additions
and
7 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
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
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
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
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
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,43 @@ | ||
<configuration> | ||
|
||
<appender name="GELF" class="de.siegmar.logbackgelf.GelfHttpAppender"> | ||
<uri>https://my.server:12201/gelf</uri> | ||
<insecure>false</insecure> | ||
<connectTimeout>15000</connectTimeout> | ||
<requestTimeout>5000</requestTimeout> | ||
<maxRetries>2</maxRetries> | ||
<retryDelay>3000</retryDelay> | ||
<compressionMethod>GZIP</compressionMethod> | ||
<encoder class="de.siegmar.logbackgelf.GelfEncoder"> | ||
<originHost>localhost</originHost> | ||
<includeRawMessage>false</includeRawMessage> | ||
<includeKeyValues>true</includeKeyValues> | ||
<includeMarker>false</includeMarker> | ||
<includeMdcData>true</includeMdcData> | ||
<includeCallerData>false</includeCallerData> | ||
<includeRootCauseData>false</includeRootCauseData> | ||
<includeLevelName>false</includeLevelName> | ||
<shortMessageLayout class="ch.qos.logback.classic.PatternLayout"> | ||
<pattern>%m%nopex</pattern> | ||
</shortMessageLayout> | ||
<fullMessageLayout class="ch.qos.logback.classic.PatternLayout"> | ||
<pattern>%m%n</pattern> | ||
</fullMessageLayout> | ||
<numbersAsString>false</numbersAsString> | ||
<staticField>app_name:backend</staticField> | ||
<staticField>os_arch:${os.arch}</staticField> | ||
<staticField>os_name:${os.name}</staticField> | ||
<staticField>os_version:${os.version}</staticField> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="ASYNC GELF" class="ch.qos.logback.classic.AsyncAppender"> | ||
<appender-ref ref="GELF" /> | ||
<neverBlock>true</neverBlock> | ||
</appender> | ||
|
||
<root level="debug"> | ||
<appender-ref ref="ASYNC GELF" /> | ||
</root> | ||
|
||
</configuration> |
Oops, something went wrong.