ppkarwasz commented on code in PR #2625:
URL: https://github.com/apache/logging-log4j2/pull/2625#discussion_r1620103270


##########
src/site/antora/modules/ROOT/pages/migrate-from-logback.adoc:
##########
@@ -0,0 +1,65 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+////
+
+:logback-link: https://logback.qos.ch/[Logback]
+:slf4j-link: https://www.slf4j.org/[SLF4J]
+
+= Migrating from Logback
+
+{logback-link} is a logging implementation for the {slf4j-link} logging API, 
just like Log4j Core is a logging implementation for the 
xref:manual/api.adoc[Log4j API].
+In this page we will guide you through migrating from Logback to Log4j Core as 
your logging implementation.
+
+[TIP]
+====
+Instead of migrating your logging implementation, Logback, are you looking for 
migrating your logging API, SLF4J?
+Please refer to xref:migrate-from-slf4j.adoc[].
+====
+
+.This guide assumes you know the logging API, implementation, and bridge 
concepts. If not, click for an introduction.
+[%collapsible]
+====
+
+include::partial$concepts.adoc[tag=!software-type]
+
+====
+
+[#migrating]
+== Migrating
+
+You either have an application using Logback at runtime, or have a library 
using Logback for tests.
+In either case, you can replace Logback with Log4j Core as follows:
+
+. Remove `ch.qos.logback:logback-classic` dependency

Review Comment:
   I added additional conversion rules in 
00139dcdb3ab2d71d5cbb6f17dab6a0e5bd84ecf.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to