Uploaded image for project: 'Velocity Tools'
  1. Velocity Tools
  2. VELTOOLS-68

VelocityViewServlet has hard coded ServletLogger

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.3
    • VelocityView
    • None

    Description

      VelocityViewServlet configures the Velocity engine to use the ServletLogger (~line 323). Integration of the servlet into applications that use other logging systems (e.g. log4j / commons-logging) is very hard because of that.

      • VVS should honor the logging setttings in velocity.properties (e.g. for explicit jdk logging)
      • It should add the ServletLogger to the log engine search path and only use it if no other logger was found (log4j / avalon etc.)
      • The ServletLogger class implements the deprecated LogSystem. VelocityTools should provide a LogChute implementation of the SrevletLogger.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            henning Henning Schmiedehausen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment