diff --git a/logging-spring-commons/pom.xml b/logging-spring-commons/pom.xml index 807a493..0057831 100644 --- a/logging-spring-commons/pom.xml +++ b/logging-spring-commons/pom.xml @@ -9,9 +9,45 @@ 2.0.3 - pl.piomin logging-spring-commons + logging-spring-commons + Library for HTTP logging with Spring Boot + https://github.com/piomin/spring-boot-logging + + + + Piotr Mińkowski + piotr.minkowski@gmail.com + https://github.com/piomin + + + + + + MIT License + http://www.opensource.org/licenses/mit-license.php + repo + + + + + scm:git:git://github.com/piomin/spring-boot-logging.git + scm:git:git@github.com:piomin/spring-boot-logging.git + https://github.com/piomin/spring-boot-logging + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + org.springframework diff --git a/readme.md b/readme.md index 6653d89..09c3acc 100644 --- a/readme.md +++ b/readme.md @@ -27,13 +27,22 @@ In short, let’s begin from a brief review of main features provided by logstas 4. It is auto-configurable Spring Boot library – you don’t have to do anything more than including it as a dependency to your application to make it work ## Getting started -The current version of library is `2.0.1`.\ -For logging with Spring WebMvc: +The current version of library is `2.0.3`.\ +For logging with Spring WebMvc and Logstash: ``` com.github.piomin logstash-logging-spring-boot-starter - 2.0.1 + 2.0.3 + +``` + +For logging with Spring WebMvc and Loki: +``` + + com.github.piomin + loki-logging-spring-boot-starter + 2.0.3 ``` @@ -42,22 +51,22 @@ For logging with Spring WebFlux: com.github.piomin reactive-logstash-logging-spring-boot-starter - 2.0.1 + 2.0.3 ``` -By default, the library is enabled, but tries to locate Logback configuration inside your application to settings for Logstash appender. If such appender won’t be found, the library uses Spring Boot default logging configuration, which does not include Logstash appender. To force it use auto-configured appender definition inside library we have to set property logging.logstash.enabled to `true`. +By default, the library is enabled, but tries to locate Logback configuration inside your application to settings for Logstash appender. If such appender won’t be found, the library uses Spring Boot default logging configuration, which does not include Logstash appender. To force it use auto-configured appender definition inside library we have to set property `logging.logstash.enabled` to `true`. ``` logging.logstash: enabled: true - url: 192.168.99.100:5000 + url: loki.example.com:5000 ``` ## Manual add jar to pom.xml -Add `reactive-logstash-logging-spring-boot-starter-2.0.1.pom` to `${basedir}/dependencies` +Add `reactive-logstash-logging-spring-boot-starter-2.0.3.pom` to `${basedir}/dependencies` -Add `pom.xml` to `${basedir}/dependencies` and rename to `reactive-logstash-logging-spring-boot-starter-1.4.0.RELEASE.pom` +Add `pom.xml` to `${basedir}/dependencies` and rename to `reactive-logstash-logging-spring-boot-starter-2.0.3.pom` Add this script to `pom.xml` in plugins section. @@ -69,7 +78,7 @@ Add this script to `pom.xml` in plugins section. com.github.piomin reactive-logstash-logging-spring-boot-starter - 2.0.1 + 2.0.3 jar ${basedir}/dependencies/reactive-logstash-logging-spring-boot-starter-1.3.1.RELEASE.jar false