ceki 2004/05/21 08:12:09 Modified: src/java/org/apache/log4j/db DBReceiver.java Log: Given that LoggingEvent properities are Strings and not general Objects, and
given that in future versions of DBAppender events may be written in batches instead of one by one, there is not much point in revealing the event_id as stored in the database to higher level components such as chainsaw. Revision Changes Path 1.7 +0 -1 logging-log4j/src/java/org/apache/log4j/db/DBReceiver.java Index: DBReceiver.java =================================================================== RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/db/DBReceiver.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- DBReceiver.java 20 May 2004 15:37:59 -0000 1.6 +++ DBReceiver.java 21 May 2004 15:12:08 -0000 1.7 @@ -196,7 +196,6 @@ id = rs.getLong(13); lastId = id; - //event.setProperty("id", Long.toString(id)); if ((mask & DBHelper.PROPERTIES_EXIST) != 0) { getProperties(connection, id, event); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]