[logback-dev] [qos-ch/logback] 149d20: add support to log elapsedTime
Tony Trinh
tony19 at gmail.com
Tue Oct 15 06:06:46 CEST 2013
Branch: refs/heads/master
Home: https://github.com/qos-ch/logback
Commit: 149d20f4ccf4e35e76e2c163c29a94eecd57be7d
https://github.com/qos-ch/logback/commit/149d20f4ccf4e35e76e2c163c29a94eecd57be7d
Author: Francois Forster <fforster at homeaway.com>
Date: 2013-09-13 (Fri, 13 Sep 2013)
Changed paths:
M logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java
M logback-access/src/main/java/ch/qos/logback/access/jetty/JettyServerAdapter.java
A logback-access/src/main/java/ch/qos/logback/access/pattern/ElapsedTimeConverter.java
M logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
M logback-access/src/main/java/ch/qos/logback/access/spi/IAccessEvent.java
M logback-access/src/main/java/ch/qos/logback/access/spi/ServerAdapter.java
M logback-access/src/main/java/ch/qos/logback/access/tomcat/TomcatServerAdapter.java
M logback-access/src/test/java/ch/qos/logback/access/dummy/DummyServerAdapter.java
Log Message:
-----------
add support to log elapsedTime
Commit: f97b1b544a328054651c7fdf75b8b73c38955af5
https://github.com/qos-ch/logback/commit/f97b1b544a328054651c7fdf75b8b73c38955af5
Author: Francois Forster <fforster at homeaway.com>
Date: 2013-09-13 (Fri, 13 Sep 2013)
Changed paths:
M logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java
Log Message:
-----------
Add 'D' pattern for elapsedTimeConverter
Commit: e6f99bae5edc32b3c53b5780ea46e9b7f74590ce
https://github.com/qos-ch/logback/commit/e6f99bae5edc32b3c53b5780ea46e9b7f74590ce
Author: Jonathan Baker <bakerj at oclc.org>
Date: 2013-09-20 (Fri, 20 Sep 2013)
Changed paths:
M logback-access/pom.xml
M logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
M logback-access/src/main/java/ch/qos/logback/access/tomcat/TomcatServerAdapter.java
M logback-site/src/site/pages/manual/layouts.html
M pom.xml
Log Message:
-----------
* Added support to the tomcat Server adaptor for correctly getting request start time. (Includes additional dependency on tomcat-coyote)
* Update layouts.html to document the addition of elapsedTime/D to the pattern support for IAccessEvent
* Modified AccessEvent.java to calculate the elapsedTime at construction of the event, instead of repeatedly in the getter. This allows the value to be more easily seen in a debugger, and cleans up the code slightly.
Commit: e7d41d68344d6730b07ebec2dc6b4400b574db2e
https://github.com/qos-ch/logback/commit/e7d41d68344d6730b07ebec2dc6b4400b574db2e
Author: Jonathan Baker <bakerj at oclc.org>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M logback-access/pom.xml
M logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java
M logback-access/src/main/java/ch/qos/logback/access/jetty/JettyServerAdapter.java
M logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
M logback-access/src/main/java/ch/qos/logback/access/spi/IAccessEvent.java
M logback-access/src/main/java/ch/qos/logback/access/tomcat/TomcatServerAdapter.java
M logback-access/src/test/java/ch/qos/logback/access/dummy/DummyServerAdapter.java
M pom.xml
Log Message:
-----------
* Fixed tabbing to be 2-spaces instead of 4
* changed direct access of timestamp field to use getTimstamp() instead inside of calculateElapsedTime.
Commit: c8f8519a3145dde51fcffc9ba4096dcf3b1de4e0
https://github.com/qos-ch/logback/commit/c8f8519a3145dde51fcffc9ba4096dcf3b1de4e0
Author: Jonathan Baker <bakerj at oclc.org>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java
M logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
Log Message:
-----------
* Undid some accidental roll-ups of imports, because my ide rules were set incorrectly.
Commit: 29cebb9fc21d48d1faaa1fb7e7d01fbc02d0b6a2
https://github.com/qos-ch/logback/commit/29cebb9fc21d48d1faaa1fb7e7d01fbc02d0b6a2
Author: Jonathan Baker <bakerj at oclc.org>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
Log Message:
-----------
* Added padding around NA, because my reformat took it away.
Commit: 7c1f6b06dfd88ea43b41ce4fbc00d08affa6ddb4
https://github.com/qos-ch/logback/commit/7c1f6b06dfd88ea43b41ce4fbc00d08affa6ddb4
Author: Tony Trinh <tony19 at gmail.com>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M logback-access/pom.xml
M logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java
M logback-access/src/main/java/ch/qos/logback/access/jetty/JettyServerAdapter.java
A logback-access/src/main/java/ch/qos/logback/access/pattern/ElapsedTimeConverter.java
M logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
M logback-access/src/main/java/ch/qos/logback/access/spi/IAccessEvent.java
M logback-access/src/main/java/ch/qos/logback/access/spi/ServerAdapter.java
M logback-access/src/main/java/ch/qos/logback/access/tomcat/TomcatServerAdapter.java
M logback-access/src/test/java/ch/qos/logback/access/dummy/DummyServerAdapter.java
M logback-site/src/site/pages/manual/layouts.html
M pom.xml
Log Message:
-----------
Merge pull request #152 from solidjb/master
Support for elapsed time to jetty and tomcat access logs
Compare: https://github.com/qos-ch/logback/compare/546b0e3e22fb...7c1f6b06dfd8
More information about the logback-dev
mailing list