< Home - < Back

slf4j


Information about the package, slf4j, which is shipped with common Linux distributions. The slf4j package is designed for, Simple Logging Facade for Java.


Package Name:

slf4j

Summary:

Simple Logging Facade for Java

Description:

The Simple Logging Facade for Java or (SLF4J) is intended to serve as a simple facade for various logging APIs allowing to the end-user to plug in the desired implementation at deployment time. SLF4J also allows for a gradual migration path away from Jakarta Commons Logging (JCL). Logging API implementations can either choose to implement the SLF4J interfaces directly, e.g. NLOG4J or SimpleLogger. Alternatively, it is possible (and rather easy) to write SLF4J adapters for the given API implementation, e.g. Log4jLoggerAdapter or JDK14LoggerAdapter..

Architecture:

noarch

Version:

1.5.8

Release:

8.el6

Size:

131 k

Repository:

base

From Repository:

Licence:

MIT and ASL 2.0



Handy Yum Commands for slf4j


Control the slf4j package with the following handy commands outlined below.


Command

Description of Command

yum install slf4j

This command will install slf4j on the server.

yum remove slf4j

This command will un-install slf4j on the server. When you run this command, you will be asked if you are sure that you want to remove slf4j, so you have to manually confirm that you want to do this.

yum -y remove slf4j

This command will un-install slf4j on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove slf4j when using the -y flag.

yum update slf4j

This command will update slf4j to the latest version. When you run this command, you will be asked if you are sure that you want to remove slf4j, so you have to manually confirm that you want to do this.

yum -y update slf4j

This command will update slf4j to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove slf4j when using the -y flag.

yum info slf4j

This command will show you core information about the slf4j package.

yum deplist slf4j

This command will show you the dependencies for slf4j. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update slf4j

This command will check if there is an update waiting on slf4j. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.