GitHub

tinylog 2.0.0

Java

tinylog API and implementation for Java and any other JVM language

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>tinylog-api</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>tinylog-impl</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains both tinylog JARs tinylog-api-2.0.0.jar and tinylog-impl-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: tinylog-2.0.0.zip (1.17 MB)

Kotlin

Enhanced logging API for Kotlin

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>tinylog-api-kotlin</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>tinylog-impl</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains the tinylog JARs tinylog-api-kotlin-2.0.0.jar, tinylog-api-2.0.0.jar, and tinylog-impl-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: tinylog-kotlin-2.0.0.zip (1.55 MB)

Scala

Enhanced logging API for Scala

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>tinylog-api-scala</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>tinylog-impl</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains the tinylog JARs tinylog-api-scala-2.0.0.jar, tinylog-api-2.0.0.jar, and tinylog-impl-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: tinylog-scala-2.0.0.zip (2.24 MB)

Third-Party Logging APIs

Apache Commons Logging (JCL)

jcl-tinylog is a binding for Apache Commons Logging (JCL). This means that commons-logging must also exist in the classpath, but no other binding than jcl-tinylog. Afterwards, all log entries will be forwarded from org.apache.commons.logging.Log to tinylog and processed by the tinylog implementation like other log entries.

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>jcl-tinylog</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains jcl-tinylog-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: jcl-tinylog-2.0.0.zip (376 KB)

Apache Log4j 1.2

log4j1.2-api provides the logging API of Apache Log4j 1.2 for tinylog 2, and should be used instead of the legacy log4j artifact. Thus, classes that use Apache Log4j 1.2 for logging can be used together with tinylog 2.

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>log4j1.2-api</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains log4j1.2-api-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: log4j1.2-api-2.0.0.zip (484 KB)

Java Util Logging (JUL)

jul-tinylog is a bridge for java.util.logging.Logger, and has to be activated by calling org.tinylog.jul.JulTinylogBridge.activate() at the startup of the application, before issuing any log entries via java.util.logging.Logger. Afterwards, all log entries will be forwarded from java.util.logging.Logger to tinylog and processed by the tinylog implementation like other log entries.

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>jul-tinylog</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains jul-tinylog-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: jul-tinylog-2.0.0.zip (369 KB)

JBoss Logging 3

jboss-tinylog is a binding for JBoss Logging 3. This means that jboss-logging must also exist in the classpath, but no other binding than jboss-tinylog. Afterwards, all log entries will be forwarded from org.jboss.logging.Logger to tinylog and processed by the tinylog implementation like other log entries. MDC and tinylog’s thread context share their data.

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>jboss-tinylog</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains jboss-tinylog-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: jboss-tinylog-2.0.0.zip (396 KB)

SLF4J 1.6 and 1.7

slf4j-tinylog is a binding for SLF4J 1.6 and 1.7. This means that slf4j-api must also exist in the classpath, but no other binding than slf4j-tinylog. Afterwards, all log entries will be forwarded from org.slf4j.Logger to tinylog and processed by the tinylog implementation like other log entries. Markers are mapped to tinylog’s tags. MDC and tinylog’s thread context share their data.

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>slf4j-tinylog</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains slf4j-tinylog-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: slf4j-tinylog-2.0.0.zip (416 KB)

tinylog 1.3

tinylog1.3-api provides the logging API of tinylog 1.3 for tinylog 2, and should be used instead of the old tinylog 1.3 artifact. Thus, classes that still use tinylog 1.3 for logging can be used together with tinylog 2.

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>tinylog1.3-api</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains tinylog1.3-api-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: tinylog1.3-api-2.0.0.zip (397 KB)

Web and Application Servers

tinylog can be used on web and application servers like all other popular logging APIs. For outputting log entries by the logging back-end of a server, one of the adapters below can be used instead of tinylog-impl. If log entries should be output by tinylog as well as by the logging back-end of a server, the adapters can be also used together with tinylog-impl concurrently.

Java Util Logging Based Servers

tinylog-jul is an adapter implementation for all web and application servers that use java.util.logging (JUL) as logging back-end. This includes Tomcat and Glassfish for example.

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>tinylog-jul</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains tinylog-api-2.0.0.jar and tinylog-jul-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: tinylog-jul-2.0.0.zip (917 KB)

JBoss Logging Based Servers

tinylog-jboss is an adapter implementation for all web and application servers that use JBoss Logging as logging back-end. This includes Wildfly and JBoss EAP for example.

<dependency>
  <groupId>org.tinylog</groupId>
  <artifactId>tinylog-jboss</artifactId>
  <version>2.0.0</version>
</dependency>

The ZIP archive contains tinylog-api-2.0.0.jar and tinylog-jboss-2.0.0.jar as well as JAR files with Javadoc and source code.

Download: tinylog-jboss-2.0.0.zip (924 KB)