[qos-ch/logback] c71c2b: add support to log elapsedTime

Branch: refs/heads/master Home: https://github.com/qos-ch/logback Commit: c71c2b45012c899af109c0a306adab46e0137de9 https://github.com/qos-ch/logback/commit/c71c2b45012c899af109c0a306adab46e01... Author: Francois Forster <fforster@homeaway.com> Date: 2013-12-27 (Fri, 27 Dec 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: 2d8994cb16a6acd735806f76aef18486d4c0efa2 https://github.com/qos-ch/logback/commit/2d8994cb16a6acd735806f76aef18486d4c... Author: Francois Forster <fforster@homeaway.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java Log Message: ----------- Add 'D' pattern for elapsedTimeConverter Commit: 3bc997e9e60d5bfaed5fa70234743f5732c1f2d2 https://github.com/qos-ch/logback/commit/3bc997e9e60d5bfaed5fa70234743f5732c... Author: Jonathan Baker <bakerj@oclc.org> Date: 2013-12-27 (Fri, 27 Dec 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: e4e417f2bd0292b97c15dcc7ecd09a7f04fc2614 https://github.com/qos-ch/logback/commit/e4e417f2bd0292b97c15dcc7ecd09a7f04f... Author: Jonathan Baker <bakerj@oclc.org> Date: 2013-12-27 (Fri, 27 Dec 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: 307bb8c893034d1ce993a5579c61e3772b47f048 https://github.com/qos-ch/logback/commit/307bb8c893034d1ce993a5579c61e3772b4... Author: Jonathan Baker <bakerj@oclc.org> Date: 2013-12-27 (Fri, 27 Dec 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: f73b610b36382fab0fdcde01bfa9419bb7d2c816 https://github.com/qos-ch/logback/commit/f73b610b36382fab0fdcde01bfa9419bb7d... Author: Jonathan Baker <bakerj@oclc.org> Date: 2013-12-27 (Fri, 27 Dec 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: 6cb6d5b5df6ec3f3e50f0729389c736cc2b984dc https://github.com/qos-ch/logback/commit/6cb6d5b5df6ec3f3e50f0729389c736cc2b... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-core/src/main/java/ch/qos/logback/core/joran/action/IncludeAction.java A logback-core/src/test/input/joran/inclusion/topOptionalResource.xml M logback-core/src/test/java/ch/qos/logback/core/joran/action/IncludeActionTest.java Log Message: ----------- Merge pull request #142 from manuel-woelker/1.0.x amendment for LOGBACK-644: suppress errors for nonexistent resource includes Commit: aa214503b2334c75e1106850da96b439b22b409d https://github.com/qos-ch/logback/commit/aa214503b2334c75e1106850da96b439b22... Author: Norbert Kenderesi <norbert.kenderesi@bitknights.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-core/src/main/java/ch/qos/logback/core/util/Loader.java Log Message: ----------- Fixed issue "Failed to instantiate LoggerContext" because of " java.lang.SecurityException: AccessController.checkPermission is unsupported." (LOGBACK-760) using the solution provided in the comment by ori. Commit: 71a34cd16f45b87bd5783774fb96e88e6a3c553a https://github.com/qos-ch/logback/commit/71a34cd16f45b87bd5783774fb96e88e6a3... Author: Richard Fearn <richardfearn@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-classic/src/main/java/ch/qos/logback/classic/net/SocketNode.java Log Message: ----------- LOGBACK-350 Prevent SocketNode constructor blocking due to lack of data from client The constructor creates an ObjectInputStream, and this blocks until the stream header is received from the client. If the client doesn't send a stream header, construction of the SocketNode will hang, preventing SimpleSocketServer from accepting new clients. This change moves the construction of the ObjectInputStream into SocketNode.run. As SimpleSocketServer runs this method in a new thread, a rogue client won't prevent subsequent ones being able to connect. Commit: b953211f57c36ae007089fb4507c2e3b73749631 https://github.com/qos-ch/logback/commit/b953211f57c36ae007089fb4507c2e3b737... Author: Richard Fearn <richardfearn@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-classic/src/main/java/ch/qos/logback/classic/net/SocketNode.java Log Message: ----------- Mark SocketNode as closed if ObjectInputStream can't be created This prevents a NullPointerException from being thrown, and allows the socketNodeClosing method to be called for the SocketNode. Commit: 23aae45f94709c1037d25c587762de3d46f3f80f https://github.com/qos-ch/logback/commit/23aae45f94709c1037d25c587762de3d46f... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-core/src/main/java/ch/qos/logback/core/ContextBase.java Log Message: ----------- Validate ContextBase's status manager (LOGBACK-912) We were null-checking the current status manager instead of the one passed in. Commit: 7042a8552b5f144883c786a00a068948aff43f32 https://github.com/qos-ch/logback/commit/7042a8552b5f144883c786a00a068948aff... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/manual/appenders.html Log Message: ----------- Fix typo in Appenders documentation Commit: 9adab69e175ec492552271c9080d9786f8d120a5 https://github.com/qos-ch/logback/commit/9adab69e175ec492552271c9080d9786f8d... Author: Ceki Gulcu <ceki@qos.ch> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-access/pom.xml M logback-classic/pom.xml M logback-core/pom.xml M logback-examples/pom.xml M logback-site/pom.xml M pom.xml Log Message: ----------- update version number to 1.1.0-SNAPSHOT Commit: 5246a0fc63514ab66f13688eeda6f98ff8fdc08a https://github.com/qos-ch/logback/commit/5246a0fc63514ab66f13688eeda6f98ff8f... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Update release notes for 1.1.0 Commit: 2423f12aebc52c6d50c57cf50484668bc3d22445 https://github.com/qos-ch/logback/commit/2423f12aebc52c6d50c57cf50484668bc3d... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Fix typo in release notes "<includes>" should've been "<include>" Commit: d7181f95a56d984e99c936ea01f3fbebdc188e91 https://github.com/qos-ch/logback/commit/d7181f95a56d984e99c936ea01f3fbebdc1... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Shrink column in release notes Commit: 09d57c37161477f1f55b7fb0ab861ca645b57910 https://github.com/qos-ch/logback/commit/09d57c37161477f1f55b7fb0ab861ca645b... Author: ericdahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-classic/src/main/java/ch/qos/logback/classic/turbo/TurboFilter.java Log Message: ----------- LOGBACK-904 Fix typo/mistype in javadoc for TurboFilter Commit: fcfa3abc4a8340ae19cbac05b57254607fddf23f https://github.com/qos-ch/logback/commit/fcfa3abc4a8340ae19cbac05b57254607fd... Author: ericdahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-classic/src/test/java/ch/qos/logback/classic/net/SyslogAppenderTest.java M logback-core/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java M logback-core/src/main/java/ch/qos/logback/core/net/SyslogOutputStream.java Log Message: ----------- LOGBACK-926 Update SyslogAppender to set the maxMessageSize to be the system default UDP size to prevent logs from being dropped if they are too large. Commit: 89b7236ddcfd3568e74e4711d5c0affc4bdc4d5c https://github.com/qos-ch/logback/commit/89b7236ddcfd3568e74e4711d5c0affc4bd... Author: ericdahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/manual/appenders.html M logback-site/src/site/pages/manual/layouts.html M logback-site/src/site/pages/manual/receivers.html Log Message: ----------- Cleanup HTML syntax issues in manual (e.g., extraneous tags) Commit: 653a33d5beb6dda01df69dc375e20018b4cc64fa https://github.com/qos-ch/logback/commit/653a33d5beb6dda01df69dc375e20018b4c... Author: ericdahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/manual/appenders.html M logback-site/src/site/pages/manual/groovy.html M logback-site/src/site/pages/manual/layouts.html M logback-site/src/site/pages/manual/usingSSL.html M logback-site/src/site/pages/news.html M logback-site/src/site/pages/setup.html M logback-site/src/site/pages/volunteer.html Log Message: ----------- Fix some typos in manual Commit: b38d173b5c601216f7c07cf1d88e72a04b8c3d1e https://github.com/qos-ch/logback/commit/b38d173b5c601216f7c07cf1d88e72a04b8... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Update release notes for 1.1.0 Add notes for LOGBACK-926 and LOGBACK-904 Commit: d5c978a56dc4c91567d174b951ee515070c1e92d https://github.com/qos-ch/logback/commit/d5c978a56dc4c91567d174b951ee515070c... Author: Richard Fearn <richardfearn@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-classic/src/main/java/ch/qos/logback/classic/net/SimpleSocketServer.java Log Message: ----------- Give names to SimpleSocketServer and SocketNode threads Commit: af224d85e9f59d1626c849c81c082811cfa0b322 https://github.com/qos-ch/logback/commit/af224d85e9f59d1626c849c81c082811cfa... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Update release notes for 1.1.0 Add note for pull request #156 Commit: e8972762916f59d5686b9f54941fd34d33f71818 https://github.com/qos-ch/logback/commit/e8972762916f59d5686b9f54941fd34d33f... Author: Gili Tzabari <cowwoc@bbs.darktech.org> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-classic/src/main/java/ch/qos/logback/classic/spi/PackagingDataCalculator.java Log Message: ----------- Fix LOGBACK-885 Commit: 0944b3ae3ab376071f8c5a1aa11b6de4fcb32057 https://github.com/qos-ch/logback/commit/0944b3ae3ab376071f8c5a1aa11b6de4fcb... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Update release notes for 1.1.0 Add note for pull request #136 (LOGBACK-885) Commit: b66dfef8a39f448e36b0f61911d4d0c684a7c4d4 https://github.com/qos-ch/logback/commit/b66dfef8a39f448e36b0f61911d4d0c684a... Author: Eric Dahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/access.html Log Message: ----------- LOGBACK-768 Documentation: Fix mistake in the definition of the combined log format (missing brackets) Commit: 6c7dca9aabc5e1adb0cf56c133f3a13b1a0d200d https://github.com/qos-ch/logback/commit/6c7dca9aabc5e1adb0cf56c133f3a13b1a0... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Update release notes for 1.1.0 Add notes for LOGBACK-768 and LOGBACK-928 Commit: 1311b2af5adaba803aa4a5b57b8b4f8d31648079 https://github.com/qos-ch/logback/commit/1311b2af5adaba803aa4a5b57b8b4f8d316... Author: Eric Dahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java M logback-site/src/site/pages/demo.html M logback-site/src/site/pages/manual/layouts.html Log Message: ----------- LOGBACK-927 Update the logback-access Common Log Format to use MMM rather than MM. Update the documentation to reflect this and to remove errors regarding the %date/%t behavior with the PatternLayout Commit: bda244e08d6b34c886ad9619fe31f8a9c1211523 https://github.com/qos-ch/logback/commit/bda244e08d6b34c886ad9619fe31f8a9c12... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Update release notes for 1.1.0 Add note for LOGBACK-927 Commit: 24976eeec1b9d0b3aaa6fb801fb5e993fa66eac0 https://github.com/qos-ch/logback/commit/24976eeec1b9d0b3aaa6fb801fb5e993fa6... Author: Eric Dahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/js/decorator.js Log Message: ----------- LOGBACK-802 Documentation: Replace usage of Javascript's String.trim() with JQuery's trim() to allow support for older web browsers Commit: 2e88caaddcd0a209c13e4282cd18cf0880f8537c https://github.com/qos-ch/logback/commit/2e88caaddcd0a209c13e4282cd18cf0880f... Author: Ceki Gulcu <ceki@qos.ch> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/manual/appenders.html Log Message: ----------- typo fix Commit: 98acde48e7c4451ecbb0a0298b1743add48dab1d https://github.com/qos-ch/logback/commit/98acde48e7c4451ecbb0a0298b1743add48... Author: Ceki Gulcu <ceki@qos.ch> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/manual/appenders.html Log Message: ----------- actual max window size is 20 Commit: 0568f7a9c1e5996029d685007cca37d1539dde98 https://github.com/qos-ch/logback/commit/0568f7a9c1e5996029d685007cca37d1539... Author: Ceki Gulcu <ceki@qos.ch> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-access/src/main/java/ch/qos/logback/access/pattern/DateConverter.java Log Message: ----------- minor fix related to LOGBACK-927 Commit: 83a927aa7b707560f528d4cb20560b2fcaa14c02 https://github.com/qos-ch/logback/commit/83a927aa7b707560f528d4cb20560b2fcaa... Author: Eric Dahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-classic/src/test/java/ch/qos/logback/classic/net/SyslogAppenderTest.java M logback-core/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java Log Message: ----------- When setting the default syslog maxMessageSize, use an upper limit of 65000 for the cases where the automatic detection goes over this limit. UDP messages are limited to 65536 bytes, but that includes the UDP headers themselves, so the value of 65000 is used instead (this is the value that used to be statically used) Commit: 0632f4fe6e09198a76eb046b7177a5421015347d https://github.com/qos-ch/logback/commit/0632f4fe6e09198a76eb046b7177a542101... Author: Eric Dahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/manual/filters.html Log Message: ----------- LOGBACK-466 Documentation: Fix syntax issue with GEventEvaluator example in filters documentation. Commit: b8c8c83c923a564bad947eabf5b0cd5a2f4c3c4e https://github.com/qos-ch/logback/commit/b8c8c83c923a564bad947eabf5b0cd5a2f4... Author: Eric Dahl <eric.c.dahl@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/codes.html M logback-site/src/site/pages/faq.html M logback-site/src/site/pages/job.html M logback-site/src/site/pages/manual/appenders.html M logback-site/src/site/pages/manual/layouts.html M logback-site/src/site/pages/manual/receivers.html M logback-site/src/site/pages/news.html M logback-site/src/site/pages/recipes/emailPerTransaction.html M logback-site/src/site/pages/setup.html M logback-site/src/site/pages/volunteer.html Log Message: ----------- Documentation: Fix typos in site and manual Commit: cae34ffa80349bc7261a03086d85c5423c8e610d https://github.com/qos-ch/logback/commit/cae34ffa80349bc7261a03086d85c5423c8... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Update release notes for 1.1.0 Add note for LOGBACK-466 Commit: 049823e182187f9b641254e3454ce5bb1e386045 https://github.com/qos-ch/logback/commit/049823e182187f9b641254e3454ce5bb1e3... Author: John Myers <jgmyers@proofpoint.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-core/src/main/java/ch/qos/logback/core/rolling/SizeAndTimeBasedFNATP.java Log Message: ----------- Allow SizeAndTimeBasedFNATP subclasses to provide a custom ArchiveRemover Commit: 37fa7e75dc6a41ee25966445ae5c8249087486de https://github.com/qos-ch/logback/commit/37fa7e75dc6a41ee25966445ae5c8249087... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Update release notes for 1.1.0 Add note for SizeAndTimeBasedFNATP#createArchiveRemover Commit: 641872f63cc9469313afa7e91d33a0f3f94e97ea https://github.com/qos-ch/logback/commit/641872f63cc9469313afa7e91d33a0f3f94... Author: turbanoff <turbanoff@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-access/src/main/java/ch/qos/logback/access/db/DBAppender.java M logback-classic/src/main/java/ch/qos/logback/classic/db/DBAppender.java M logback-core/src/main/java/ch/qos/logback/core/db/DBAppenderBase.java Log Message: ----------- Always close jdbc Statement/ResultSet in finally Commit: eeca53e473fbae5b20e7c922dd94c1a99d4fbd9c https://github.com/qos-ch/logback/commit/eeca53e473fbae5b20e7c922dd94c1a99d4... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-access/src/main/java/ch/qos/logback/access/db/DBAppender.java M logback-classic/src/main/java/ch/qos/logback/classic/db/DBAppender.java M logback-core/src/main/java/ch/qos/logback/core/db/DBAppenderBase.java Log Message: ----------- Merge pull request #151 from turbanoff-master Always close jdbc Statement/ResultSet in finally Commit: 6f2d2b9967add609c14cd3b6ec1631e98a505671 https://github.com/qos-ch/logback/commit/6f2d2b9967add609c14cd3b6ec1631e98a5... Author: Tony Trinh <tony19@gmail.com> Date: 2013-12-27 (Fri, 27 Dec 2013) Changed paths: M logback-site/src/site/pages/news.html Log Message: ----------- Update release notes for 1.1.0 Patched up note on dangling database connections Compare: https://github.com/qos-ch/logback/compare/1cab2c3a92d5...6f2d2b9967ad
participants (1)
-
Tony Trinh