[ http://issues.apache.org/jira/browse/VELOCITY-159?page=all ]
Will Glass-Husain updated VELOCITY-159:
---------------------------------------
Bugzilla Id: (was: 18636)
Fix Version: 1.5
Description:
I am trying to get velocity to log stack traces,
However setting the VelocityEngine.RUNTIME_LOG_ERROR_STACKTRACE does
not cause the stack traces to be printed, because
RuntimeInstance.showStackTrace() first checks configuration.isInitialized(),
which always seems to return false. :(
Is there a problem with ExtendedProperties? Looking at the 2.1
ExtendedProperties source the isInitialized flag is never set,
unless I am missing something.
was:
I am trying to get velocity to log stack traces,
However setting the VelocityEngine.RUNTIME_LOG_ERROR_STACKTRACE does
not cause the stack traces to be printed, because
RuntimeInstance.showStackTrace() first checks configuration.isInitialized(),
which always seems to return false. :(
Is there a problem with ExtendedProperties? Looking at the 2.1
ExtendedProperties source the isInitialized flag is never set,
unless I am missing something.
Environment:
Operating System: All
Platform: All
was:
Operating System: All
Platform: All
Assign To: (was: Velocity-Dev List)
Bug needs to be confirmed, preferably with test code. We should resolve this
for v1.5.
> Not possible to get Velocity to log stack traces.
> -------------------------------------------------
>
> Key: VELOCITY-159
> URL: http://issues.apache.org/jira/browse/VELOCITY-159
> Project: Velocity
> Type: Bug
> Components: Source
> Versions: 1.4
> Environment: Operating System: All
> Platform: All
> Reporter: Victor Wiewiorowski
> Priority: Minor
> Fix For: 1.5
>
> I am trying to get velocity to log stack traces,
> However setting the VelocityEngine.RUNTIME_LOG_ERROR_STACKTRACE does
> not cause the stack traces to be printed, because
> RuntimeInstance.showStackTrace() first checks configuration.isInitialized(),
> which always seems to return false. :(
> Is there a problem with ExtendedProperties? Looking at the 2.1
> ExtendedProperties source the isInitialized flag is never set,
> unless I am missing something.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]