You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2003/04/03 02:57:33 UTC

DO NOT REPLY [Bug 18636] New: - Not possible to get Velocity to log stack traces.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18636>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18636

Not possible to get Velocity to log stack traces.

           Summary: Not possible to get Velocity to log stack traces.
           Product: Velocity
           Version: 1.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Source
        AssignedTo: velocity-dev@jakarta.apache.org
        ReportedBy: victorw@valuecommerce.ne.jp


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org