Author: toad
Date: 2009-02-24 15:57:05 +0000 (Tue, 24 Feb 2009)
New Revision: 25776
Modified:
trunk/freenet/src/freenet/io/comm/Message.java
Log:
Logging
Modified: trunk/freenet/src/freenet/io/comm/Message.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/Message.java 2009-02-24 15:51:37 UTC
(rev 25775)
+++ trunk/freenet/src/freenet/io/comm/Message.java 2009-02-24 15:57:05 UTC
(rev 25776)
@@ -76,7 +76,7 @@
mspec = MessageType.getSpec(Integer.valueOf(bb.readInt()));
} catch (IOException e1) {
if(logDEBUG)
- Logger.minor(Message.class,"Failed to read message
type: "+e1, e1);
+ Logger.debug(Message.class,"Failed to read message
type: "+e1, e1);
return null;
}
if (mspec == null) {
@@ -226,7 +226,7 @@
// Logger.logMinor("<<<<< Send message : " + this);
if(logDEBUG)
- Logger.minor(this, "My spec code:
"+_spec.getName().hashCode()+" for "+_spec.getName());
+ Logger.debug(this, "My spec code:
"+_spec.getName().hashCode()+" for "+_spec.getName());
ByteArrayOutputStream baos = new ByteArrayOutputStream();
DataOutputStream dos = new DataOutputStream(baos);
try {
@@ -255,7 +255,7 @@
byte[] buf = baos.toByteArray();
if(logDEBUG)
- Logger.minor(this, "Length: "+buf.length+", hash:
"+Fields.hashCode(buf));
+ Logger.debug(this, "Length: "+buf.length+", hash:
"+Fields.hashCode(buf));
return buf;
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs