Announcement

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

    upgrading log4j 1.x to log4j2

    I'm using SmartGWT 4.1 and I'm trying to upgrade log4j1.x version to log4j2. But when I start the application I've got an error with this message:

    Code:
    SRVE0293E: [Errore servlet]-[DataSourceLoader]: java.lang.NoClassDefFoundError: com.isomorphic.base.Init (initialization failure)
    Futhermore in the old log4j.isc.config.xml file I have an appender like this:
    Code:
    <appender name="SmartClientLog" class="com.isomorphic.log.RevolvingMemoryAppender">
    But I don't know how to translate this appender in new log4j2 format.

    Could you help me?
    Thank you

    #2
    log4j2 is not backwards compatible so this won't be a matter of simply swapping in libraries.

    We're not sure what's motivating you to move to a new library, but note that 5.0 supports slf4j - see this announcement.

    Comment


      #3
      Now that version 1 of Log4j has reached end of life, what are your suggestions? Will you support log4j2 in a future release of SmartClient? Other?

      Comment

      Working...
      X