IOpipe Java Log4j2 Logger Adapter

This project contains the adapter for Log4j2 so that logging events are captured and uploaded to IOpipe.

Лицензия

Лицензия

Группа

Группа

com.iopipe
Идентификатор

Идентификатор

iopipe-logger-log4j2
Последняя версия

Последняя версия

1.2.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

IOpipe Java Log4j2 Logger Adapter
This project contains the adapter for Log4j2 so that logging events are captured and uploaded to IOpipe.
Ссылка на сайт

Ссылка на сайт

https://www.iopipe.com/
Организация-разработчик

Организация-разработчик

IOpipe
Система контроля версий

Система контроля версий

https://github.com/iopipe/iopipe-java-logger-log4j2

Скачать iopipe-logger-log4j2

Как подключить последнюю версию

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.logging.log4j : log4j-api jar 2.11.2
org.apache.logging.log4j : log4j-core jar 2.11.2
com.iopipe : iopipe jar 1.12.0

test (4)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar 5.4.0
org.junit.platform : junit-platform-runner jar 1.4.0
org.junit.jupiter : junit-jupiter-engine jar 5.4.0
org.junit.vintage : junit-vintage-engine jar 5.4.0

Модули Проекта

Данный проект не имеет модулей.

IOpipe Logger Adapter for log4j2 (Java)

Download CircleCIJavadocs

Support for Log4j2 using the IOpipe Logger Plugin. This plugin is to be used with the IOpipe Java Agent.

It is licensed under the Apache 2.0.

Building With The Adapter

Your pom.xml file may be modified to include the following dependency:

<dependency>
  <groupId>com.iopipe</groupId>
  <artifactId>iopipe-logger-log4j2</artifactId>
</dependency>

Due to the way shading works, you will be required to always use the Log4j2 Transformer if you wish to support multiple appenders within your project and its dependencies. Not doing so may result in not being able to use multiple various plugins with Log4j2.

Configuration

Configuring your project to use this adapter for Log4j2 will be the same as configuring other appenders as specified in the configuration documentation.

Using the following as an example log4j2.xml resource at a very basic level to report to IOpipe (the error level may be modified accordingly as needed):

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="error">
  <Appenders>
    <IOpipe name="IOpipe">
    </IOpipe>
  </Appenders>
  <Loggers>
    <Root level="error">
      <AppenderRef ref="IOpipe" />
    </Root>
  </Loggers>
</Configuration>

Once you’re setup, you will need to configure IOpipe to enable the logging plugin. You can do this by setting the IOPIPE_LOGGER_ENABLED environment variable to true in the AWS Lambda configuration.

com.iopipe

IOpipe

Monitor, profile, and observe AWS Lambda serverless apps

Версии библиотеки

Версия
1.2.0
1.1.0