This is Marco's Syslog Valve for Apache Tomcat, fixed such that it works with tomcat7. See http://marcoscorner.walther-family.org/2012/06/apache-tomcat-and-logging-the-2nd/ for more details.
Additional parameters from this fork:
port
: Syslog UDP target portmsgLength
: UDP packet message length to be sent to syslog- Maximum: 65507
- Minimum: 480
<Valve className="org.apache.catalina.valves.SyslogAccessLogValve"
requestAttributesEnabled="true"
hostname="localhost"
port="514"
msgLength="32766"
resolveHosts="false"
pattern="%h %l %u %t "%r" %s %b" />
- make sure all your changes are pushed to remote master
- make sure
mvn clean install
succeeds - do release file/config cleanup
rm pom.xml.releaseBackup release.properties
- do prepare step via
mvn release:prepare
; leave inputs as default (auto-increments versions)- this step will create a new local tag based on the release inputs
- this step will do 2 local commits on pom version increments for the release and development cycle
- push the tag created by the preparation step (
step #4
) viagit push origin <tag-name>
- do release step via
mvn release:perform
; this will output release jar, e.g.${project.basedir}/target/checkout/SyslogValve/SyslogValve/0.1.0/SyslogValve-0.1.0-jar-with-dependencies.jar
- push the 2 commits created by the preparation step (
step #4
) viagit push origin master
- do
step #3
as final cleanup step
~ FIN