diff --git a/Applications/DisparityMap/otbBlockMatching.cxx b/Applications/DisparityMap/otbBlockMatching.cxx
index 12d91760a37310c3d9d15e44eaba8a74a5792a82..3317c6cb3018919d249d73b9b76841c09960396a 100644
--- a/Applications/DisparityMap/otbBlockMatching.cxx
+++ b/Applications/DisparityMap/otbBlockMatching.cxx
@@ -677,7 +677,7 @@ private:
 
     if (IsParameterEnabled("bm.medianfilter.radius") && IsParameterEnabled("bm.medianfilter.incoherence"))
       {
-      GetLogger()->Info('\n' + "Applies a median filter to smooth the disparity map" + '\n');
+      otbAppLogINFO("Applies a median filter to smooth the disparity map"<<std::endl);
       if (minhdisp < maxhdisp)
         {
         m_HMedianFilter->SetInput(hdispImage);