[freenet-dev] [freenet-cvs] r16923 - trunk/freenet/src/freenet/store

Martin Nyhus martin.nyhus at sensewave.com
Mon Jan 7 18:47:24 UTC 2008


On Saturday 5. January 2008 22:26:37 toad at freenetproject.org wrote:
> Author: toad
> Date: 2008-01-05 21:26:37 +0000 (Sat, 05 Jan 2008)
> New Revision: 16923
>
> Modified:
>    trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java
> Log:
> demote to DEBUG level logging
[...]
> @@ -1580,9 +1573,9 @@
>  			if(keysRAF != null) {
>  				keysRAF.seek(blockNum * keyLength);
>  				keysRAF.write(fullKey);
> -				if(logMINOR)
> +				if(logDEBUG)
>  					Logger.minor(this, "Written full key length "+fullKey.length+" to 
block "+blockNum+" at "+(blockNum * keyLength));
> -			} else if(logMINOR && storeType == TYPE_SSK) {
> +			} else if(logDEBUG && storeType == TYPE_SSK) {
>  				Logger.minor(this, "Not writing full key length "+fullKey.length+" for 
block "+blockNum);
>  			}

Shouldn't Logger.minor be Logger.debug here?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20080107/4cb5b958/attachment.pgp 


More information about the Devl mailing list