<div dir="ltr"><div><div><div><div><div>Hi everyone.<br><br></div>First off, my first mail on the mailinglist, thanks for logback, it is awesome :)<br><br></div>We had a problem in our project that our serialized object graph was way too large.<br>
<br>After digging, we found that a referenced ch.qos.logback.classic.Logger was the cause. A serialized object was about 27 kB, after making the referenced logger static, the serialized size was about 4,7kB<br><br></div>
ch.qos.logback.classic.Logger has several transient fields, but parent and childrenList are not. My guess is that when serializing a logger, you then implicitly serialize every referenced logger inn the logger tree. Am I correct?<br>
<br></div>Since the readResolve method is only dependent on name, every field could be made transient, problem solved?<br><br></div>Cheers,<br>Alf<br></div>