[LOGBack-dev] svn commit: r502 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi
noreply.seb at qos.ch
noreply.seb at qos.ch
Thu Aug 31 15:02:06 CEST 2006
Author: seb
Date: Thu Aug 31 15:02:06 2006
New Revision: 502
Modified:
logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent2.java
Log:
- corrected writeObject method
Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent2.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent2.java (original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent2.java Thu Aug 31 15:02:06 2006
@@ -253,7 +253,7 @@
private void writeObject(ObjectOutputStream out) throws IOException {
out.defaultWriteObject();
out.writeObject(logger.getName());
- out.writeObject(level.levelInt);
+ out.writeInt(level.levelInt);
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
More information about the logback-dev
mailing list