From: Andrew Deason Date: Fri, 4 Nov 2011 22:19:28 +0000 (-0500) Subject: volser: Remove debugging log messages X-Git-Tag: upstream/1.8.0_pre1^2~3079 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2a1251c5d0c1b0fd4024d7b3282187a838b551fd;p=packages%2Fo%2Fopenafs.git volser: Remove debugging log messages While the -log option to volserver is supposed to print additional log information, it shouldn't spam the log with useless data. Remove some of the log lines that are really more "debug" information, so we log the same amount of information as in the 1.4 series. Change-Id: I1fd93344a7ebe11c6d5ad507dad87babe517785a Reviewed-on: http://gerrit.openafs.org/5810 Reviewed-by: Derrick Brashear Tested-by: BuildBot --- diff --git a/src/volser/dumpstuff.c b/src/volser/dumpstuff.c index b803e01ff..af0fc5a47 100644 --- a/src/volser/dumpstuff.c +++ b/src/volser/dumpstuff.c @@ -1152,10 +1152,6 @@ ProcessIndex(Volume * vp, VnodeClass class, afs_foff_t ** Bufp, int *sizep, (size <= vcp->diskSize ? 0 : size - vcp->diskSize) >> vcp->logSize; if (nVnodes > 0) { - if (DoLogging) { - Log("RestoreVolume ProcessIndex: Set up %d inodes for volume %d\n", - nVnodes, V_id(vp)); - } Buf = malloc(nVnodes * sizeof(afs_foff_t)); if (Buf == NULL) { STREAM_CLOSE(afile); @@ -1175,9 +1171,6 @@ ProcessIndex(Volume * vp, VnodeClass class, afs_foff_t ** Bufp, int *sizep, } offset += vcp->diskSize; } - if (DoLogging) { - Log("RestoreVolume ProcessIndex: found %d inodes\n", cnt); - } *Bufp = Buf; *sizep = nVnodes; } @@ -1321,9 +1314,6 @@ ReadVnodes(struct iod *iodp, Volume * vp, int incremental, if (!ReadInt32(iodp, &vnode->uniquifier)) return VOLSERREAD_DUMPERROR; - if (DoLogging) { - Log("ReadVnodes: setup %d/%d\n", vnodeNumber, vnode->uniquifier); - } while ((tag = iod_getc(iodp)) > D_MAX && tag != EOF) { haveStuff = 1; if (critical)