Bunyan log tools

Support for logging to Bunyan JSON format for some log frameworks

License

License

Categories

Categories

Logging Application Layer Libs
GroupId

GroupId

se.kth.infosys
ArtifactId

ArtifactId

bunyan-logging
Last Version

Last Version

2.3.0
Release Date

Release Date

Type

Type

pom
Description

Description

Bunyan log tools
Support for logging to Bunyan JSON format for some log frameworks
Project URL

Project URL

http://www.kth.se
Source Code Management

Source Code Management

http://github.com/kth/bunyan-layout/

Download bunyan-logging

Filename Size
bunyan-logging-2.3.0.pom 6 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/se.kth.infosys/bunyan-logging/ -->
<dependency>
    <groupId>se.kth.infosys</groupId>
    <artifactId>bunyan-logging</artifactId>
    <version>2.3.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/se.kth.infosys/bunyan-logging/
implementation 'se.kth.infosys:bunyan-logging:2.3.0'
// https://jarcasting.com/artifacts/se.kth.infosys/bunyan-logging/
implementation ("se.kth.infosys:bunyan-logging:2.3.0")
'se.kth.infosys:bunyan-logging:pom:2.3.0'
<dependency org="se.kth.infosys" name="bunyan-logging" rev="2.3.0">
  <artifact name="bunyan-logging" type="pom" />
</dependency>
@Grapes(
@Grab(group='se.kth.infosys', module='bunyan-logging', version='2.3.0')
)
libraryDependencies += "se.kth.infosys" % "bunyan-logging" % "2.3.0"
[se.kth.infosys/bunyan-logging "2.3.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.8.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

  • log4j2-bunyan
  • log4j-bunyan
  • java-logging-bunyan
  • logback-bunyan

bunyan-layout

Tools for logging in Bunyan JSON format (see See: https://github.com/trentm/node-bunyan) in various logging frameworks for Java.

Development

The project uses git-flow branch strategy, see introduction and the git-flow tool. Mainly all development goes into development branch and via releases into master.

Building

Complete build and testing is run with maven: mvn clean install

See the jenkins job at: https://jenkins.sys.kth.se/view/Integral/job/bunyan-layout

Pre-built binaries are published into Maven central. Publishing is done with mvn -Prelease but requires additional configuration for access to OSS Sonatype and a GPG key for signing.

Release process with git flow

git flow release start x.y.z
mvn versions:set -DnewVersion=x.y.z
 *do whatever testing and update of RELEASENOTES.md*
 *commit changes*

git flow release finish x.y.z

It is possible to publish the release branch git flow release publish x.y.z to the repository if it is to be shared between developers or used in some CI environment.

.

se.kth.infosys

KTH Royal Institute of Technology (Official)

KTH is a leading European technical and engineering university.

Versions

Version
2.3.0
2.2.1
2.2.0
2.1.0