Log4j 2
  1. Log4j 2
  2. LOG4J2-410

java.io.NotSerializableException: org.slf4j.impl.SLF4JLogger

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta8
    • Fix Version/s: 2.0-rc2
    • Component/s: None
    • Labels:
      None

      Description

      When i use a the logger object in a model,and the model will set to some cache like memcached,this exception happens.Maybe this class and some other related class need implements Serializable interface?

        Activity

        Ralph Goers made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Ralph Goers [ ralph.goers@dslextreme.com ]
        Fix Version/s 2.0-rc2 [ 12326292 ]
        Resolution Fixed [ 1 ]
        lvlin zeng made changes -
        Field Original Value New Value
        Description When i use a the logger object in a model,and the model will set to some cache like memcached,this exception happens.Maybe there need implements Serializable interface? When i use a the logger object in a model,and the model will set to some cache like memcached,this exception happens.Maybe this class and some other related class need implements Serializable interface?
        lvlin zeng created issue -

          People

          • Assignee:
            Ralph Goers
            Reporter:
            lvlin zeng
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development