- Create ERROR level log @ Redmine
- Merge the same StackTraces @ one issue
- Link StackTraces with git repo (support GitHub, GitLab, BitBucket)
<dependency>
<groupId>tw.kewang</groupId>
<artifactId>logback-redmine-appender</artifactId>
<version>0.4.0</version>
</dependency>
compile 'tw.kewang:logback-redmine-appender:0.4.0'
<appender name="REDMINE" class="tw.kewang.logback.appender.RedmineAppender">
<url>http://example.com</url> <!-- Required, Your Redmine URL -->
<apiKey>abcdef1234567890</apiKey> <!-- Required, Your Redmine API key-->
<projectId>5566</projectId> <!-- Required, Your Redmine Project ID -->
<title>Logback Redmine Appender</title> <!-- Optional, Your Redmine issue title -->
<onlyError>true</onlyError> <!-- Optional, Only show ERROR level log, default value is true -->
<git class="tw.kewang.logback.appender.tag.TagGit">
<repoUrl>https://bitbucket.org/kewang/logback-redmine-appender</repoUrl> <!-- Optional, Your git vendor URL, https://github.com / https://gitlab.com / https://gitlab.example.com / https://bitbucket.org -->
<commit>fa729ff</commit> <!-- Optional, Your git commit -->
<parentDir>src/main/java</parentDir> <!-- Optional, Your parent directory -->
</git>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>${PATTERN}</pattern>
<charset>${CHARSET}</charset>
</encoder>
</appender>