Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    log4j2 in 13.1

    Hello, I just noticed that in 13.1 SmartClient will use log4j2. Now we're using it via slf4j, so we're starting tomcat with these options:
    Code:
    -DiscUseSlf4j=true
    -DiscUseLog4jConfig=false
    will it possible to have, on the same server, applications using that configuration and others with 13.1 using directly log4j2 ? It would facilitate the migration.

    #2
    This may change in the future, but for now version 13.1 uses JVM arguments to configure logging system. So, you would need to use same approach for 13.1 applications.

    Comment


      #3
      Sorry, but from your reply I don't understand if on the same server I could deploy applications (with 12.1 or 13) using log4j2 via slf4j and others with 13.1 using directly log4j2.

      Comment


        #4
        All applications sharing JVM arguments you've shown will pick up same instructions from them and will use Slf4j logging. This applies to all versions (12.1, 13 and 13.1), so within single JVM you can't have one application using slf4j logging and another using log4j2 directly.

        Comment

        Working...
        X