Rotatable appender

Fittings for Logback to make it submit to external log rotation

License

License

Categories

Categories

Logback Application Layer Libs Logging
GroupId

GroupId

com.rbkmoney.logback
ArtifactId

ArtifactId

nop-rolling
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

Rotatable appender
Fittings for Logback to make it submit to external log rotation
Project URL

Project URL

https://github.com/rbkmoney/rotatable_appender.git
Source Code Management

Source Code Management

https://github.com/rbkmoney/rotatable_appender/tree/master

Download nop-rolling

How to add to project

<!-- https://jarcasting.com/artifacts/com.rbkmoney.logback/nop-rolling/ -->
<dependency>
    <groupId>com.rbkmoney.logback</groupId>
    <artifactId>nop-rolling</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.rbkmoney.logback/nop-rolling/
implementation 'com.rbkmoney.logback:nop-rolling:1.0.4'
// https://jarcasting.com/artifacts/com.rbkmoney.logback/nop-rolling/
implementation ("com.rbkmoney.logback:nop-rolling:1.0.4")
'com.rbkmoney.logback:nop-rolling:jar:1.0.4'
<dependency org="com.rbkmoney.logback" name="nop-rolling" rev="1.0.4">
  <artifact name="nop-rolling" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.rbkmoney.logback', module='nop-rolling', version='1.0.4')
)
libraryDependencies += "com.rbkmoney.logback" % "nop-rolling" % "1.0.4"
[com.rbkmoney.logback/nop-rolling "1.0.4"]

Dependencies

compile (1)

Group / Artifact Type Version
ch.qos.logback : logback-core jar 1.2.3

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
ch.qos.logback : logback-classic jar 1.2.3
org.slf4j : slf4j-api jar 1.7.25
org.mockito : mockito-core jar 2.23.4

Project Modules

There are no modules declared in this project.

RotatableAppender

Appender для logback, необходимый для корректной работы с logrotate.

Разработчики

Настройки на клиенте

Использовать logback-spring.xml (взять можно из папки benchmark)

pom.xml

<dependency>
    <groupId>net.logstash.logback</groupId>
    <artifactId>logstash-logback-encoder</artifactId>
    <version>4.6</version>
</dependency>
<dependency>
    <groupId>com.rbkmoney.logback</groupId>
    <artifactId>nop-rolling</artifactId>
    <version>1.0.0</version>
</dependency>

application.properties

logging.file= # Log file name. For instance `myapp.log`
logging.path= # Location of the log file. For instance `/var/log`

ps необязательные настройки, которые можно переопределить

com.rbkmoney.logback

RBKmoney

Versions

Version
1.0.4