Using velocity.properties to setup the Velocity logs in Access Governance Suite

  • 7011214
  • 11-Apr-2011
  • 19-Oct-2012

Resolution

When Using Access Governance Suite in a Tomcat or other Apache-enabled Web Application Server environment, you may notice that some logs and folders may be created in non-standard locations if they are not properly addressed in your instance configuration. Access Governance Suite does take advantage of the Apache Software Foundation's design by default and allows you to fully utilize the logging standards to deliver a default location for your velocity log files through the use of a velocity.properties file.

The velocity.properties file is declared in the WEB-INF/classes folder in the same manner that the iiq.properties file is declared, it is a text file stored with the same rights and permissions as the iiq.properties file within the folder structure and application. Beyond that the file is a simple declarative text file which points to the location of the velocity log's location on the server (or a remote syslog server depending upon your choice and configuration):

runtime.log=/path/to/log/dir/velocity.log

where the output of the velocity log will be stored and available for review. This will prevent the velocity log from creating folders and logs from the working directory where your system administrators may choose to restart the Access Governance Suite server. This was corrected with ETN #2717, but there is not a velocity.properties file shipped as a part of the product, just as there is not a log4.properties file shipped with the product as these must be configured for your individual instance.