Content deleted Content added
Alain madak (talk | contribs) No edit summary |
Alain madak (talk | contribs) continued edits Tag: Visual edit |
||
Line 4: | Line 4: | ||
According to mvnrepository, '''logback'''<ref>{{Cite web|title=Logback Home|url=https://logback.qos.ch/|access-date=2022-02-22|website=logback.qos.ch}}</ref> is the most popular Java logging framework<ref>{{Cite web |last=Goebelbecker |first=Eric |date=2018-05-08 |title=A Guide To Logback {{!}} Baeldung |url=https://www.baeldung.com/logback |access-date=2022-08-05 |website=www.baeldung.com |language=en-US}}</ref>. It is the spiritual{{Peacock term|date=February 2022}} successor of log4j 1.x and is very similar architecturally to log4j 1.x. |
According to mvnrepository, '''logback'''<ref>{{Cite web|title=Logback Home|url=https://logback.qos.ch/|access-date=2022-02-22|website=logback.qos.ch}}</ref> is the most popular Java logging framework<ref>{{Cite web |last=Goebelbecker |first=Eric |date=2018-05-08 |title=A Guide To Logback {{!}} Baeldung |url=https://www.baeldung.com/logback |access-date=2022-08-05 |website=www.baeldung.com |language=en-US}}</ref>. It is the spiritual{{Peacock term|date=February 2022}} successor of log4j 1.x and is very similar architecturally to log4j 1.x. |
||
The main difference between log4j 1.x and logback is that logback implements the SLF4J API natively. In addition, logback has a larger battery of tests and more extensive documentation<ref>{{Cite web |title=Logback |
The main difference between log4j 1.x and logback is that logback implements the SLF4J API<ref>{{Cite web |title=SLF4J |url=https://www.slf4j.org/ |access-date=2022-08-05 |website=www.slf4j.org}}</ref> natively. In addition, logback has a larger battery of tests and more extensive documentation.<ref>{{Cite web |title=Logback Manual |url=https://logback.qos.ch/manual/index.html |access-date=2022-08-05 |website=logback.qos.ch}}</ref> |
||
=== Modules === |
|||
Logback ships with three modules. The logback-classic module which is the equivalent of log4j 1.x. The logback-access module can be integrated with web-container to log HTTP traffic. The logback-core module provides common functionality required by the previous two modules. |
|||
=== Architecture of logback-classic === |
|||
==References== |
==References== |
Revision as of 16:21, 5 August 2022
According to mvnrepository, logback[1] is the most popular Java logging framework[2]. It is the spiritual[peacock prose] successor of log4j 1.x and is very similar architecturally to log4j 1.x.
The main difference between log4j 1.x and logback is that logback implements the SLF4J API[3] natively. In addition, logback has a larger battery of tests and more extensive documentation.[4]
Modules
Logback ships with three modules. The logback-classic module which is the equivalent of log4j 1.x. The logback-access module can be integrated with web-container to log HTTP traffic. The logback-core module provides common functionality required by the previous two modules.
Architecture of logback-classic
References
- ^ "Logback Home". logback.qos.ch. Retrieved 2022-02-22.
- ^ Goebelbecker, Eric (2018-05-08). "A Guide To Logback | Baeldung". www.baeldung.com. Retrieved 2022-08-05.
- ^ "SLF4J". www.slf4j.org. Retrieved 2022-08-05.
- ^ "Logback Manual". logback.qos.ch. Retrieved 2022-08-05.