Velocity Tools
  1. Velocity Tools
  2. VELTOOLS-68

VelocityViewServlet has hard coded ServletLogger

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: VelocityView
    • Labels:
      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.
      1. velocity-tools.patch
        7 kB
        Henning Schmiedehausen

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Henning Schmiedehausen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development