GELF Logging Library

Library to create and send GELF messages

License

License

GroupId

GroupId

com.pavlovmedia.oss.osgi.gelf
ArtifactId

ArtifactId

com.pavlovmedia.oss.osgi.gelf.lib
Last Version

Last Version

2.0.16
Release Date

Release Date

Type

Type

jar
Description

Description

GELF Logging Library
Library to create and send GELF messages
Project Organization

Project Organization

Pavlov Media

Download com.pavlovmedia.oss.osgi.gelf.lib

How to add to project

<!-- https://jarcasting.com/artifacts/com.pavlovmedia.oss.osgi.gelf/com.pavlovmedia.oss.osgi.gelf.lib/ -->
<dependency>
    <groupId>com.pavlovmedia.oss.osgi.gelf</groupId>
    <artifactId>com.pavlovmedia.oss.osgi.gelf.lib</artifactId>
    <version>2.0.16</version>
</dependency>
// https://jarcasting.com/artifacts/com.pavlovmedia.oss.osgi.gelf/com.pavlovmedia.oss.osgi.gelf.lib/
implementation 'com.pavlovmedia.oss.osgi.gelf:com.pavlovmedia.oss.osgi.gelf.lib:2.0.16'
// https://jarcasting.com/artifacts/com.pavlovmedia.oss.osgi.gelf/com.pavlovmedia.oss.osgi.gelf.lib/
implementation ("com.pavlovmedia.oss.osgi.gelf:com.pavlovmedia.oss.osgi.gelf.lib:2.0.16")
'com.pavlovmedia.oss.osgi.gelf:com.pavlovmedia.oss.osgi.gelf.lib:jar:2.0.16'
<dependency org="com.pavlovmedia.oss.osgi.gelf" name="com.pavlovmedia.oss.osgi.gelf.lib" rev="2.0.16">
  <artifact name="com.pavlovmedia.oss.osgi.gelf.lib" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.pavlovmedia.oss.osgi.gelf', module='com.pavlovmedia.oss.osgi.gelf.lib', version='2.0.16')
)
libraryDependencies += "com.pavlovmedia.oss.osgi.gelf" % "com.pavlovmedia.oss.osgi.gelf.lib" % "2.0.16"
[com.pavlovmedia.oss.osgi.gelf/com.pavlovmedia.oss.osgi.gelf.lib "2.0.16"]

Dependencies

compile (1)

Group / Artifact Type Version
com.fasterxml.jackson.core : jackson-databind jar 2.3.1

provided (2)

Group / Artifact Type Version
org.apache.felix : org.apache.felix.scr.annotations jar 1.9.12
org.apache.felix : org.apache.felix.configadmin jar 1.8.8

Project Modules

There are no modules declared in this project.

Build Status

OSGi GELF

Builds

Branch Status OBR
Master Build Status
2.0 Build Status repository.xml

Latest Version

Download Maven Status

==

This project is intended to be a facility to bridge the gap between OSGi spec logging and the GELF logging protocol used by GrayLog2 (http://www.graylog2.org/).

Simple usage

Getting off the ground is not hard if you have the following:

  • A GrayLog2 server that is running a TCP GELF input
  • An OSGi runtime that has the following bundles:
  • OSGi Logging bundle (see Apache Felix Log Bundle)
  • OSGi Configuration Admin Service bundle (see Apache Felix Configuration Admin Service)
  • The Apache Declarative Services Bundle
  • The GELF Sink Mega module (from this project)

Once you have this running you just need to configure the GrayLog server, and enable logging. Once this is on, any logs written to the OSGi log will also be written to GrayLog

com.pavlovmedia.oss.osgi.gelf

Pavlov Media

Versions

Version
2.0.16
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.3
1.0.2
1.0.1