Index: /branches/eam_branches/20091201/ppImage/src/ppImageDetrendPattern.c
===================================================================
--- /branches/eam_branches/20091201/ppImage/src/ppImageDetrendPattern.c	(revision 26818)
+++ /branches/eam_branches/20091201/ppImage/src/ppImageDetrendPattern.c	(revision 26819)
@@ -91,8 +91,4 @@
             }
             if (doPattern) {
-                const char *chipName = psMetadataLookupStr(NULL, chip->concepts, "CHIP.NAME");
-                const char *cellName = psMetadataLookupStr(NULL, cell->concepts, "CELL.NAME");
-                psLogMsg("ppImage", PS_LOG_INFO, "Performing cell pattern correction for %s, %s\n",
-                         chipName, cellName);
                 tweak->data.U8[i] = 0xFF;
             }
Index: /branches/eam_branches/20091201/psModules/src/detrend/pmPattern.c
===================================================================
--- /branches/eam_branches/20091201/psModules/src/detrend/pmPattern.c	(revision 26818)
+++ /branches/eam_branches/20091201/psModules/src/detrend/pmPattern.c	(revision 26819)
@@ -258,5 +258,7 @@
         }
         float correction = background - mean->data.F32[i]; // Correction to apply
-        psLogMsg("psModules.detrend", PS_LOG_DETAIL, "Correcting background of cell %d by %f", i, correction);
+        const char *cellName = psMetadataLookupStr(NULL, cell->concepts, "CELL.NAME"); // Name of cell
+        psLogMsg("psModules.detrend", PS_LOG_DETAIL, "Correcting background of cell %s by %f",
+                 cellName, correction);
         psBinaryOp(ro->image, ro->image, "+", psScalarAlloc(correction, PS_TYPE_F32));
     }
