Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-159

Not possible to get Velocity to log stack traces.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.5
    • Engine
    • None
    • Operating System: All
      Platform: All
    • 18636

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            victorw@valuecommerce.ne.jp Victor Wiewiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: