diff --git a/pythonbindings/src/VirtualFluids.cpp b/pythonbindings/src/VirtualFluids.cpp
index 20e5012e0af325440e502c704d6f372100306ab1..91682b79e8125a7513565b28e2e22e74e0b2dac1 100644
--- a/pythonbindings/src/VirtualFluids.cpp
+++ b/pythonbindings/src/VirtualFluids.cpp
@@ -49,7 +49,8 @@ namespace py_bindings
 
     PYBIND11_MODULE(bindings, m)
     {
-        py::add_ostream_redirect(m, "ostream_redirect");
+        // because we do not use the old logger (src/basics/logger) anymore and cout is not passed anymore to the old logger, we probably do not need this anymore
+        // pybind11::add_ostream_redirect(m, "ostream_redirect");
         basics::makeModule(m);
         lbm::makeModule(m);
         logging::makeModule(m);
@@ -60,4 +61,4 @@ namespace py_bindings
         cpu::makeModule(m);
 #endif
     }
-}
\ No newline at end of file
+}