logmanagement-plugin

The plugin can change the log level for slf4j logging on the fly or get informations about logger and log levels.

License

License

GroupId

GroupId

com.lightszentip.module
ArtifactId

ArtifactId

logmanagement-plugin
Last Version

Last Version

0.9.1
Release Date

Release Date

Type

Type

jar
Description

Description

logmanagement-plugin
The plugin can change the log level for slf4j logging on the fly or get informations about logger and log levels.
Project URL

Project URL

http://maven.apache.org
Source Code Management

Source Code Management

https://github.com/lightszentip/logmanagement-plugin

Download logmanagement-plugin

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.7

provided (2)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.7.6
ch.qos.logback : logback-classic jar 1.1.1

test (6)

Group / Artifact Type Version
junit : junit jar 4.11
org.mockito : mockito-all jar 1.9.5
com.google.guava : guava jar 17.0
org.powermock : powermock-module-junit4 jar 1.5.4
org.powermock : powermock-api-mockito jar 1.5.4
org.hamcrest : hamcrest-all jar 1.3

Project Modules

There are no modules declared in this project.

README

Build Status

The plugin can change the log level for slf4j logging on the fly or get informations about logger and log levels.

You can use it with:

LogManagementPluginFactory.getLogManagementPlugin()

Change the log level for example:

LogManagementPluginFactory.getLogManagementPlugin().changeRootLogLevel(logLevel)

Example: https://github.com/lightszentip/logmanagement-plugin-example-app

To get the artifact from Repository

<dependency>
  <groupId>com.lightszentip.module</groupId>
  <artifactId>logmanagement-plugin</artifactId>
  <version>0.9.1</version>
</dependency>

Versions

Version
0.9.1