Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-612

explicit configuration of Velocity logging

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.2, 2.0.0-M1
    • Component/s: core
    • Labels:
      None

      Description

      If the log4j 1.x API is on the classpath (e.g. in a Syncope-based project with additional dependencies), Syncope >= 1.2.0 tries to write a velocity.log-File. Startup fails if this is not possible, e.g. because write access to the file system is not granted to the Tomcat process. This used to work in Syncope 1.1.X.

      Syncope's VelocityEngineFactoryBean should explicitly configure Velocity to use Commons Logging, as Spring's VelocityEngineFactory bean does, which was used in 1.1.X.

      See the discussion on the dev mailing list:
      http://syncope-dev.1063484.n5.nabble.com/prevent-writing-of-velocity-log-in-Syncope-1-2-X-master-td5716396.html

        Attachments

          Activity

            People

            • Assignee:
              wimmelg Guido Wimmel
              Reporter:
              wimmelg Guido Wimmel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: