![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
1.0.11 |
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-core |
|
Created:
|
05/Apr/13 4:42 PM
|
|
Description:
|
ch.qos.logback.classic.Logger has several transient fields, but parent and childrenList are not.
This means that when serializing a logger, all logger instances will be serialized. This is not necessary since Logger implements readResolve, that only depends on the name.
Suggestion for fix, mark all field in Logger as transient, except name.
In our application, the reduction in size of a serialized object (referencing a logger instance) was dramatic. It went from about 27 kb to 5 kb.
|
|
Project:
|
logback
|
|
Priority:
|
Major
|
|
Reporter:
|
Alf Kristian Støyle
|
|
|
|
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
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev