diff --git a/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx b/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx
index 0cfdba2940ca03c93999f3fb26ef6942b0154c20..6b1744c7d9513c78cdc0277aac52d24d87fe5aaf 100644
--- a/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx
+++ b/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx
@@ -20,6 +20,7 @@
 #pragma warning ( disable : 4786 )
 #endif
 
+#include "otbMacro.h"
 #include "itkExceptionObject.h"
 #include "itkImage.h"
 #include "itkImageFileWriter.h"
@@ -84,7 +85,7 @@ int otbAlignImageToPath( int argc, char * argv[] )
 	
 	otbGenericMsgDebugMacro(<< "Before update");
 	testList->Update(); 
-	printf("Apres update\n");
+	otbGenericMsgDebugMacro(<< "After update");
 	ListAlignFilterOutputPathListType * sortiePath = testList->GetOutput();
 	
 	otbGenericMsgDebugMacro(<< "Writing :");