Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In the 'tomcat' conf directory, edit server.xml - near the very bottom you'll find the reference to AccessLogValve - replace that reference with the following and save:
    No Format
    <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
       prefix="access." suffix=".log"
      pattern="%t, %s, %{mifos-txnname}r, %D, %B"
      resolveHosts="false"/>
    

Note: make sure the valve is not commented out (i.e. no surrounding <!-- - ->)

  1. After Tomcat is restarted, transactions will be logged to CATALINA_HOME/logs/access.YYYY-MM-DD.log