Author: markt Date: Fri Jul 1 10:26:30 2016 New Revision: 1750899 URL: http://svn.apache.org/viewvc?rev=1750899&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=59774 Correct the prefix values in the the documented examples for configuring the AccessLogValve. Patch provided by Mike Noordermeer.
Modified: tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/docs/config/context.xml tomcat/trunk/webapps/docs/config/engine.xml tomcat/trunk/webapps/docs/config/host.xml tomcat/trunk/webapps/docs/config/valve.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1750899&r1=1750898&r2=1750899&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Fri Jul 1 10:26:30 2016 @@ -150,6 +150,11 @@ This attribute works both when a connection is returned and when a connection is borrowed. (kfujino) </fix> + <fix> + <bug>59774</bug>: Correct the <code>prefix</code> values in the the + documented examples for configuring the <code>AccessLogValve</code>. + Patch provided by Mike Noordermeer. (markt) + </fix> </changelog> </subsection> <subsection name="Tribes"> Modified: tomcat/trunk/webapps/docs/config/context.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/context.xml?rev=1750899&r1=1750898&r2=1750899&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/context.xml (original) +++ tomcat/trunk/webapps/docs/config/context.xml Fri Jul 1 10:26:30 2016 @@ -877,7 +877,7 @@ <source><![CDATA[<Context> ... <Valve className="org.apache.catalina.valves.AccessLogValve" - prefix="localhost_access_log." suffix=".txt" + prefix="localhost_access_log" suffix=".txt" pattern="common"/> ... </Context>]]></source> Modified: tomcat/trunk/webapps/docs/config/engine.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/engine.xml?rev=1750899&r1=1750898&r2=1750899&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/engine.xml (original) +++ tomcat/trunk/webapps/docs/config/engine.xml Fri Jul 1 10:26:30 2016 @@ -195,7 +195,7 @@ <source><![CDATA[<Engine name="Standalone" ...> ... <Valve className="org.apache.catalina.valves.AccessLogValve" - prefix="catalina_access_log." suffix=".txt" + prefix="catalina_access_log" suffix=".txt" pattern="common"/> ... </Engine>]]></source> Modified: tomcat/trunk/webapps/docs/config/host.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/host.xml?rev=1750899&r1=1750898&r2=1750899&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/host.xml (original) +++ tomcat/trunk/webapps/docs/config/host.xml Fri Jul 1 10:26:30 2016 @@ -357,7 +357,7 @@ <source><![CDATA[<Host name="localhost" ...> ... <Valve className="org.apache.catalina.valves.AccessLogValve" - prefix="localhost_access_log." suffix=".txt" + prefix="localhost_access_log" suffix=".txt" pattern="common"/> ... </Host>]]></source> Modified: tomcat/trunk/webapps/docs/config/valve.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/valve.xml?rev=1750899&r1=1750898&r2=1750899&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/valve.xml (original) +++ tomcat/trunk/webapps/docs/config/valve.xml Fri Jul 1 10:26:30 2016 @@ -130,7 +130,7 @@ <attribute name="prefix" required="false"> <p>The prefix added to the start of each log file's name. If not - specified, the default value is "access_log.".</p> + specified, the default value is "access_log".</p> </attribute> <attribute name="suffix" required="false"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org