alfred-json-logging

Creates an amp + jar for having Alfresco logs in json format

License

License

Categories

Categories

JSON Data Logging Application Layer Libs
GroupId

GroupId

eu.xenit.alfred
ArtifactId

ArtifactId

alfred-json-logging
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

pom
Description

Description

alfred-json-logging
Creates an amp + jar for having Alfresco logs in json format
Project URL

Project URL

https://github.com/xenit-eu/alfred-json-logging
Source Code Management

Source Code Management

https://github.com/xenit-eu/alfred-json-logging.git

Download alfred-json-logging

How to add to project

<!-- https://jarcasting.com/artifacts/eu.xenit.alfred/alfred-json-logging/ -->
<dependency>
    <groupId>eu.xenit.alfred</groupId>
    <artifactId>alfred-json-logging</artifactId>
    <version>0.0.3</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/eu.xenit.alfred/alfred-json-logging/
implementation 'eu.xenit.alfred:alfred-json-logging:0.0.3'
// https://jarcasting.com/artifacts/eu.xenit.alfred/alfred-json-logging/
implementation ("eu.xenit.alfred:alfred-json-logging:0.0.3")
'eu.xenit.alfred:alfred-json-logging:pom:0.0.3'
<dependency org="eu.xenit.alfred" name="alfred-json-logging" rev="0.0.3">
  <artifact name="alfred-json-logging" type="pom" />
</dependency>
@Grapes(
@Grab(group='eu.xenit.alfred', module='alfred-json-logging', version='0.0.3')
)
libraryDependencies += "eu.xenit.alfred" % "alfred-json-logging" % "0.0.3"
[eu.xenit.alfred/alfred-json-logging "0.0.3"]

Dependencies

compile (1)

Group / Artifact Type Version
net.logstash.log4j : jsonevent-layout jar 1.7

Project Modules

There are no modules declared in this project.

This module builds an Alfresco amp which outputs log messages in a json format. This is achieved by using in log4j.properties:

log4j.appender.Console.layout=net.logstash.log4j.JSONEventLayoutV1

from the external dependency:

('net.logstash.log4j:jsonevent-layout:1.7')

To build the amp:

./gradlew amp

To start up various versions of Alfresco with this amp installed:

./gradlew check

Due to the healthcheck defined in the image, an unsuccessful start of Alfresco will make the check fail.

eu.xenit.alfred

Xenit

Versions

Version
0.0.3
0.0.2
0.0.1