You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "PJ Fanning (Jira)" <ji...@apache.org> on 2023/09/14 08:08:00 UTC

[jira] [Comment Edited] (LOG4J2-3524) support scala 3.0

    [ https://issues.apache.org/jira/browse/LOG4J2-3524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765046#comment-17765046 ] 

PJ Fanning edited comment on LOG4J2-3524 at 9/14/23 8:07 AM:
-------------------------------------------------------------

You can use https://logging.apache.org/log4j/log4j-2.0/log4j-slf4j-impl/index.html to get the slf4j logging to be emitted as log4jv2 log events.


was (Author: fanningpj):
You can use https://logging.apache.org/log4j/log4j-2.0-beta7/log4j-slf4j-impl/index.html to get the slf4j logging to be emitted as log4jv2 log events.

> support scala 3.0
> -----------------
>
>                 Key: LOG4J2-3524
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3524
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Scala API
>    Affects Versions: Scala 12.1
>            Reporter: PJ Fanning
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> This commit - [https://github.com/apache/logging-log4j-scala/commit/63584bb16ec735fb162abf22db977b2832418e62] - will mean that log4j-scala will only support Scala 3.1.x and not Scala 3.0.x.
> See [https://www.scala-lang.org/blog/2022/02/01/scala-3.1.1-released.html]
> ```
> Scala 3 has excellent backward compatibility guarantees between the minor versions. Right now, that means that code compiled with Scala 3.1 can depend on libraries published with 3.0 without any problems. The opposite, hovewer, is not true. Code compiled with 3.0 is not able to read dependencies compiled with 3.1. After the recent release of Scala 3.1.0, we can see that libraries should be really cautious with updating the compiler version, as it forces a bump on every user of that library.
> ```
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)