https://issues.apache.org/bugzilla/show_bug.cgi?id=54660

            Bug ID: 54660
           Summary: AccessLogValve fileDateFormat can not be changed
                    through JMX
           Product: Tomcat 7
           Version: 7.0.22
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: arnaud.kleinv...@gmail.com
    Classification: Unclassified

When an AccessLogValve is added to a catalina host with the JMX addVale()
operation on the Host object name, the valve will start with the default
fileDateFormat.

Changing the attribute on the valve through it's JMX object name has no effect
because the valve is already started.

Executing a rotate() operation on the valve does also have no effect.

Steps to Reproduce:
- Start tomcat server
- Add Host using JMX
- Add valve to Host using JMX
- Set valve attribute fileDateFormat to something else than yyyy-MM-dd, for
example yy-MM

Actual Results:
The access log file format will include the default fileDateFormat of
yyyy-MM-dd

Expected Results:
The access log file format with yy-MM, as from the example.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to