You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2013/09/24 14:12:03 UTC
[jira] [Commented] (LOG4J2-410) java.io.NotSerializableException:
org.slf4j.impl.SLF4JLogger
[ https://issues.apache.org/jira/browse/LOG4J2-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776241#comment-13776241 ]
Gary Gregory commented on LOG4J2-410:
-------------------------------------
{{org.slf4j.impl.SLF4JLogger}} is not a Log4j class, it's a SLF4J class.
What is your stack trace?
> java.io.NotSerializableException: org.slf4j.impl.SLF4JLogger
> -------------------------------------------------------------
>
> Key: LOG4J2-410
> URL: https://issues.apache.org/jira/browse/LOG4J2-410
> Project: Log4j 2
> Issue Type: Bug
> Affects Versions: 2.0-beta8
> Reporter: lvlin zeng
>
> 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?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org