Index: /issm/trunk/src/c/objects/Riftfront.cpp
===================================================================
--- /issm/trunk/src/c/objects/Riftfront.cpp	(revision 1734)
+++ /issm/trunk/src/c/objects/Riftfront.cpp	(revision 1735)
@@ -590,5 +590,5 @@
 	/*Activate or deactivate penalties: */
 	if(penetration<0){
-		printf("riftfront %i is penetrating\n",this->GetId());
+		//printf("riftfront %i penetrating.\n",this->GetId());
 		/*There is penetration, we need to active the penalty so this penetration will be NULL: */
 		activate=1;
@@ -599,4 +599,5 @@
 		 * wants to, ie the one with the max penetration: */
 		if (penetration==max_penetration){
+			//printf("riftfront %i at max penetration.\n",this->GetId());
 			activate=0;
 		}
@@ -618,5 +619,8 @@
 		/*This penalty has zig zagged too long, fix it to smooth results: */
 		activate=1; this->active=activate;
-		printf("          locking  riftfront %i\n",this->id);
+		if (this->counter==(this->penalty_lock+1)){
+			printf("riftfront %i locking at %g m/yr\n",this->GetId(),penetration*365.0*24.0*3600.0);
+			this->counter++;
+		}
 	}
 
