logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Refactoring of location info extraction
Date Tue, 07 Sep 2004 17:33:29 GMT



I have refactored location info extraction code into two separate
classes. (It used to be in the LocationInfo class.) This should pave
the way for a better extraction method based on StackTraceElements
introduced in JDK 1.4. See
   http://marc.theaimsgroup.com/?t=108473346700001&r=1&w=2 for more
details.

At 07:16 PM 9/7/2004, you wrote:
>ceki        2004/09/07 10:16:05
>
>   Modified:    src/java/org/apache/log4j/xml UtilLoggingXMLDecoder.java
>                         XMLDecoder.java XMLLayout.java
>                src/java/org/apache/log4j/spi LoggingEventFieldResolver.java
>                         LoggingEvent.java
>                src/java/org/apache/log4j/db DBReceiverJob.java
>                         DBAppender2.java DBAppender.java
>                src/java/org/apache/log4j/chainsaw
>                         ChainsawCyclicBufferTableModel.java
>                tests/src/java/org/apache/log4j/performance Loop.java
>                tests/src/java/org/apache/log4j/db FullCycleDBTest.java
>                src/java/org/apache/log4j HTMLLayout.java
>                src/java/org/apache/log4j/lf5 LF5Appender.java
>                src/java/org/apache/log4j/pattern
>                         MethodLocationPatternConverter.java
>                         FileLocationPatternConverter.java
>                         LineLocationPatternConverter.java
>                         FullLocationPatternConverter.java
>                tests    build.xml
>                src/java/org/apache/log4j/chainsaw/layout
>                         LayoutEditorPane.java EventDetailLayout.java
>                src/java/org/apache/log4j/varia LogFilePatternReceiver.java
>                src/java/org/apache/log4j/chainsaw/filter FilterModel.java
>   Added:       src/java/org/apache/log4j/spi/location LocationInfo.java
>                         LegacyExtractor.java
>                tests/src/java/org/apache/log4j/spi/location
>                         LocationInfoTest.java
>   Removed:     src/java/org/apache/log4j/spi LocationInfo.java
>   Log:
>   - Created a new o.a.l.spi.location package
>
>   - Moved o.a.l.spi.LocationInfo class to o.a.l.spi.location.LocationInfo
>
>   - Updated many classes to reflect the name change
>
>   - The location info extraction code has beed factored out to its own 
> class. New and improved extraction strategies to follow.
>
>   - Previously "transient" fields in LocationInfo are now serialized.
>
>   Revision  Changes    Path
>   1.18      +1 
> -1      logging-log4j/src/java/org/apache/log4j/xml/UtilLoggingXMLDecoder.java
>

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message