Skip to content
  1. Jun 13, 2009
  2. Jun 12, 2009
  3. Jun 11, 2009
  4. Jun 09, 2009
  5. Jun 05, 2009
  6. Jun 04, 2009
  7. Mar 23, 2009
  8. Mar 20, 2009
  9. Mar 11, 2009
  10. Mar 10, 2009
  11. Mar 09, 2009
  12. Mar 06, 2009
  13. Mar 05, 2009
  14. Mar 04, 2009
  15. Feb 27, 2009
    • Ceki Gulcu's avatar
    • Ceki Gulcu's avatar
      more tests · 511dfb8f
      Ceki Gulcu authored
      511dfb8f
    • Ceki Gulcu's avatar
      link to nogunner's article · 9bd94d38
      Ceki Gulcu authored
      9bd94d38
    • Ceki Gulcu's avatar
      Removed ThrowableDataPoint class as, in light of recent ThrowableProxy refactoring, it · 5cd39ff8
      Ceki Gulcu authored
      had become an empty shell around StackTraceElementProxy.
      5cd39ff8
    • Ceki Gulcu's avatar
      Refactoring of the ThrowableProxy class. · fc13781b
      Ceki Gulcu authored
      ThrowableProxy now implements the IThrowableProxy interface as shown below:
      
      public interface IThrowableProxy {
        public String getClassName();
        public String getMessage();
        public ThrowableDataPoint[] getThrowableDataPointArray();
        public int getCommonFrames();
        public IThrowableProxy getCause();  <-- Joern smiles
      }
      
      Instead of being a flat structure, ThrowableProxy now contains nested
      exceptions (cause) as a nested ThrowableProxy references. This was
      requested by Joern Huxhorn on several occasions.
      
      Classes printing threads had to be modified as a result of this
      refactoring. 
      
      The ILoggerEvent interface has also been slightly refactored. The
      LoggerRemoteView class is no longer referenced. Instead the
      LoggerContextVO class is used. As a result, serialized events are
      larger by a few bytes, but the code is hopefully much clearer.
      
      In response to comments from the dev mailing list, the LoggingEventSDO
      class has been renamed as LoggingEventVO.
      
      fc13781b
    • Ceki Gulcu's avatar
    • Ceki Gulcu's avatar
      · 1089de5c
      Ceki Gulcu authored
      When the class name contains 13 or more segments (12 dots), the
      abbreviation algorithm would bomb out with an exception. This was
      reported by Lukas Zapletal in LBCLASSIC-110 and on the logback mailing
      list.
      
      The critical change is
          int[] lengthArray = new int[ClassicConstants.MAX_DOTS];
      instead of
          int[] lengthArray = new int[ClassicConstants.MAX_DOTS+1];
      
      The current MAX_DOTS limit has been increased from 12 to 16. However,
      the with aforementioned "critical" change, the code can deal with any
      number of dots as attested by the accompanying test case.
      1089de5c
  16. Feb 26, 2009
    • Ceki Gulcu's avatar
      · 01112c2c
      Ceki Gulcu authored
       SDOAware interface has been removed.
       ILoggerEvent interface no longer extends SDOAware.
       
       Appenders which rely on serialization invoke the appropriate PreSerializationTransformer
       to obtain a serializable representation of the event they are processing. 
      01112c2c
  17. Feb 25, 2009
    • Ceki Gulcu's avatar
      · 45a9231c
      Ceki Gulcu authored
      This fairly extensive commit in terms of the number of affected
      classes but relatively small conceptually. It is a refactoring of the
      LoggingEvent class. The LoggingEvent class now implements the
      ILoggingEvent interface which essentially contains getter methods with
      no setters.  LoggingEvent is no longer serializable because the
      relavant serialization code has been moved into LoggingEventSDO. A
      LoggingEvent object now requires transformation into LoggingEventSDO
      object before serializaiton. LoggingEventSDO class implements the
      ILoggingEvent interface. SDO stands for Serialable Data Object.
      
      All logback-classic components, including appenders, layouts,
      converters now operate on ILoggingEvent instances. In other words,
      logback-classic module is now a specialized processing chain for
      ILoggingEvent objects, instead of LoggerEvent objects previously.
      
      The getStartTime method which was previously part of LoggingEvent has
      migrated to the Context interface. This change is a nice fit from a
      conceptual point of view.
      
      All tests pass. Performance is has not been degraded. 
      
      In the future commits, the LoggerRemoteView may be renamed as
      LoggerSDO, and similarly, LoggerContextRemoteView as LoggerContextSDO.
      45a9231c