slf4j-boodskap-appender

SLF4J - LOG4J2 Appender to upload log events to Boodskap IoT Platform

License

License

Categories

Categories

SLF4J Application Layer Libs Logging
GroupId

GroupId

io.boodskap.iot.ext
ArtifactId

ArtifactId

slf4j-boodskap-appender
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

slf4j-boodskap-appender
SLF4J - LOG4J2 Appender to upload log events to Boodskap IoT Platform
Project URL

Project URL

https://github.com/boodskap/slf4j-boodskap-appender
Project Organization

Project Organization

Boodskap
Source Code Management

Source Code Management

https://github.com/boodskap/slf4j-boodskap-appender/tree/master

Download slf4j-boodskap-appender

How to add to project

<!-- https://jarcasting.com/artifacts/io.boodskap.iot.ext/slf4j-boodskap-appender/ -->
<dependency>
    <groupId>io.boodskap.iot.ext</groupId>
    <artifactId>slf4j-boodskap-appender</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.boodskap.iot.ext/slf4j-boodskap-appender/
implementation 'io.boodskap.iot.ext:slf4j-boodskap-appender:1.0.0'
// https://jarcasting.com/artifacts/io.boodskap.iot.ext/slf4j-boodskap-appender/
implementation ("io.boodskap.iot.ext:slf4j-boodskap-appender:1.0.0")
'io.boodskap.iot.ext:slf4j-boodskap-appender:jar:1.0.0'
<dependency org="io.boodskap.iot.ext" name="slf4j-boodskap-appender" rev="1.0.0">
  <artifact name="slf4j-boodskap-appender" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.boodskap.iot.ext', module='slf4j-boodskap-appender', version='1.0.0')
)
libraryDependencies += "io.boodskap.iot.ext" % "slf4j-boodskap-appender" % "1.0.0"
[io.boodskap.iot.ext/slf4j-boodskap-appender "1.0.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.commons : commons-lang3 jar 3.9
com.mashape.unirest : unirest-java jar 1.4.9
org.slf4j : slf4j-log4j12 jar 1.7.26

Project Modules

There are no modules declared in this project.

slf4j-boodskap-appender

SLF4J / LOG4J Boodskap Platform Appender

Maven Dependency

    <dependencies>
        <dependency>
                <groupId>io.boodskap.iot.ext</groupId>
                <artifactId>slf4j-boodskap-appender</artifactId>
                <version>1.0.0</version>
        </dependency>
    </dependencies>

Sample log4j.properties Configuration

# Root logger option
log4j.rootCategory=INFO, boodskap

# Direct log messages to Boodskap Platform
log4j.appender.boodskap=io.boodskap.iot.ext.log4j.BoodskapAppender
log4j.appender.boodskap.layout=org.apache.log4j.PatternLayout

#Refer to Log4J PatternLayout for more details
log4j.appender.boodskap.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p %c{1}:%L - %m%n

#Enable / Disable synchronous logging, enabling may introduce considerable delay in the execution
log4j.appender.boodskap.sync=false

#Max numer of log events to be buffered in the memory
log4j.appender.boodskap.queueSize=10000

#Boodskap platform API base path
log4j.appender.boodskap.apiBasePath=

#Boodskap platform's Domain Key
log4j.appender.boodskap.domainKey=

#Boodskap platform's API Key
log4j.appender.boodskap.apiKey=

#Boodskap Log Analyzer's Application ID
log4j.appender.boodskap.appId=
io.boodskap.iot.ext

Boodskap

Versions

Version
1.0.0