You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by sd...@apache.org on 2003/05/08 07:48:41 UTC

cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/xml UtilLoggingXMLDecoder.java

sdeboy      2003/05/07 22:48:41

  Modified:    src/java/org/apache/log4j/xml UtilLoggingXMLDecoder.java
  Log:
  util logging connections from same machine would not write rows because 'sequence' was being used as ID...now setting 'sequence' as a property of the event but using log4j unique ID as the row ID
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-log4j-sandbox/src/java/org/apache/log4j/xml/UtilLoggingXMLDecoder.java
  
  Index: UtilLoggingXMLDecoder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/xml/UtilLoggingXMLDecoder.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UtilLoggingXMLDecoder.java	8 May 2003 04:37:08 -0000	1.3
  +++ UtilLoggingXMLDecoder.java	8 May 2003 05:48:40 -0000	1.4
  @@ -301,7 +301,7 @@
   					threadName = getCData(list.item(y));
   				}
   				if (tagName.equalsIgnoreCase("sequence")) {
  -					properties.put("log4jid", getCData(list.item(y)));
  +					properties.put("util-logging-id", getCData(list.item(y)));
   				}
   				if (tagName.equalsIgnoreCase("message")) {
   					message = getCData(list.item(y));
  
  
  

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