Author: markt
Date: Fri Mar 15 14:43:23 2013
New Revision: 1456971

URL: http://svn.apache.org/r1456971
Log:
Expose new rotate method via JMX

Modified:
    tomcat/tc7.0.x/trunk/   (props changed)
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml

Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
  Merged /tomcat/trunk:r1456970

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml?rev=1456971&r1=1456970&r2=1456971&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml 
Fri Mar 15 14:43:23 2013
@@ -114,6 +114,12 @@
                type="java.lang.String"/>
 
     <operation name="rotate"
+               description="Check if the log file is due to be rotated and 
rotate if it is"
+               impact="ACTION"
+               returnType="void">
+    </operation>
+
+    <operation name="rotate"
                description="Move the existing log file to a new name"
                impact="ACTION"
                returnType="boolean">
@@ -282,6 +288,12 @@
                type="java.lang.String"/>
 
     <operation name="rotate"
+               description="Check if the log file is due to be rotated and 
rotate if it is"
+               impact="ACTION"
+               returnType="void">
+    </operation>
+
+    <operation name="rotate"
                description="Move the existing log file to a new name"
                impact="ACTION"
                returnType="boolean">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to