[
https://issues.apache.org/jira/browse/AXIS2-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen updated AXIS2-4620:
-----------------------------------
Fix Version/s: 1.5.5
1.6
> Adding OnDemandLogger to allow the LogFactory lookup to occur on first touch
> versus during static class initialization
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-4620
> URL: https://issues.apache.org/jira/browse/AXIS2-4620
> Project: Axis2
> Issue Type: Bug
> Components: kernel
> Reporter: Rich Scheuerle
> Assignee: Rich Scheuerle
> Fix For: 1.6, 1.5.5
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Problem:
> In most classes, the Log and LogFactory are statically declared
> (example AxisServlet). This causes the Log to be discovered and loaded
> during the class loading, which can be expensive.
> If Axis2 is embedded, the wrong Log may be calculated (i.e. it may get
> the Log associated with the static loading versus the Log associated with the
> application's classloader).
> Solution:
> Adding a OnDemandLogger object will defer the Log construction until
> the Log is needed. This solution was proposed by Nikhil Thaker and Muhammad
> Sadiq.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]