log4javabrake

log4j appender for Airbrake

License

License

GroupId

GroupId

io.airbrake
ArtifactId

ArtifactId

log4javabrake
Last Version

Last Version

0.1.5
Release Date

Release Date

Type

Type

jar
Description

Description

log4javabrake
log4j appender for Airbrake
Project URL

Project URL

https://airbrake.io
Source Code Management

Source Code Management

https://github.com/airbrake/log4javabrake

Download log4javabrake

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
io.airbrake : javabrake jar 0.1.5
log4j : log4j jar 1.2.16

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

log4j appender for javabrake

Build Status

Installation

Gradle:

compile 'io.airbrake:log4javabrake:0.1.5'

Maven:

<dependency>
  <groupId>io.airbrake</groupId>
  <artifactId>log4javabrake</artifactId>
  <version>0.1.5</version>
</dependency>

Ivy:

<dependency org='io.airbrake' name='log4javabrake' rev='0.1.5'>
  <artifact name='log4javabrake' ext='pom'></artifact>
</dependency>

Configuration

Using config:

log4j.rootLogger=INFO, stdout, airbrake

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d,%p] [%c{1}.%M:%L] %m%n

log4j.appender.airbrake=io.airbrake.log4javabrake.AirbrakeAppender
log4j.appender.airbrake.projectId=12345
log4j.appender.airbrake.projectKey=FIXME
log4j.appender.airbrake.env=production

Using Java:

import org.apache.log4j.Logger;
import io.airbrake.log4javabrake.AirbrakeAppender;

int projectId = 12345;
String projectKey = "FIXME";
Logger.getRootLogger().addAppender(new AirbrakeAppender(projectId, projectKey));
io.airbrake

Airbrake

Visibility into your Application's Health

Versions

Version
0.1.5
0.1.4
0.1.3