diff --git a/Modules/Wrappers/SWIG/src/python/otbLogOutputCallback.h b/Modules/Wrappers/SWIG/src/python/otbLogOutputCallback.h
index 41b98e061175bffc81190a2b5da8f45109114d95..e7e4ab04dc8ebe1888a4546cb511850a85374ddc 100644
--- a/Modules/Wrappers/SWIG/src/python/otbLogOutputCallback.h
+++ b/Modules/Wrappers/SWIG/src/python/otbLogOutputCallback.h
@@ -44,16 +44,13 @@ public:
   virtual ~LogOutputCallback() = default;
 
   /** Write a string to a buffer */
-  virtual void Call(std::string const&){};
+  virtual void Call(std::string const&)=0;
 
   /** Flush the buffer */
-  virtual void Flush(){};
+  virtual void Flush()=0;
 
   /** Determine if the bufer is interactive */
-  virtual bool Isatty()
-  {
-    return false;
-  };
+  virtual bool Isatty()=0;
 };
 
 } // namespace otb