Logback

Java的可靠、通用、快速和灵活的日志框架。(The reliable, generic, fast and flexible logging framework for Java. )

Github stars Tracking Chart

Logback旨在作为受欢迎的log4j项目的继承者,它将从log4j离开的地方开始。

Logback的架构是非常通用的,以便在不同的情况下应用。 目前,logback分为三个模块:logback-core,logback-classic和logback-access。

对数核心模块为其他两个模块奠定了基础。 logback-classic模块可以被同化到显着改进的log4j版本。 此外,logback-classic本机实现SLF4J API,以便您可以轻松地在logback和log4j或java.util.logging(JUL)之类的日志记录框架之间来回切换。
回溯访问模块与Servlet容器(如Tomcat和Jetty)集成,以提供HTTP访问日志功能。 请注意,您可以轻松地在logback-core之上构建自己的模块。

Main metrics

Overview
Name With Ownerqos-ch/logback
Primary LanguageJava
Program languageHTML (Language Count: 11)
Platform
License:Other
所有者活动
Created At2009-08-20 18:48:24
Pushed At2025-03-29 17:24:32
Last Commit At2025-03-29 18:24:27
Release Count146
Last Release Namev_1.5.18 (Posted on 2025-03-18 14:00:54)
First Release Namerelease_0.9.1 (Posted on 2009-08-20 20:29:40)
用户参与
Stargazers Count3.1k
Watchers Count145
Fork Count1.3k
Commits Count4.7k
Has Issues Enabled
Issues Count165
Issue Open Count101
Pull Requests Count229
Pull Requests Open Count206
Pull Requests Close Count258
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

About logback

Thank you for your interest in logback, the reliable, generic, fast
and flexible logging library for Java.

The Logback documentation can be found on the project
web-site
as well as under
the docs/ folder of the logback distribution.

Building logback

Version 1.3.x requires Java 9 to compile and build.

More details on building logback is documented at:

https://logback.qos.ch/setup.html#ide

In case of problems

In case of problems please do not hesitate to post an e-mail message
on the logback-user@qos.ch mailing list. However, please do not
directly e-mail logback developers. The answer to your question might
be useful to other users. Moreover, there are many knowledgeable users
on the logback-user mailing lists who can quickly answer your
questions.

Pull requests

If you are interested in improving logback, great! The logback community
looks forward to your contribution. Please follow this process:

  1. Please file a bug
    report
    . Pull requests with
    an associated JIRA issue will get more attention.

    Optional: Start a discussion on the logback-dev mailing
    list
    about your proposed
    change.

  2. Fork qos-ch/logback. Ideally, create a new branch from your fork for
    your contribution to make it easier to merge your changes back.

  3. Make your changes on the branch you hopefuly created in Step 2. Be
    sure that your code passes existing unit tests.

  4. Please add unit tests for your work if appropriate. It usually is.

  5. Push your changes to your fork/branch in github. Don't push it to
    your master! If you do it will make it harder to submit new changes
    later.

  6. Submit a pull request to logback from from your commit page on
    github.

Build Status

Build Status