diff --git a/MeshLib/Elements/TemplateTet.tpp b/MeshLib/Elements/TemplateTet.tpp
index ba0192fe0dd75773a3d5236a98199bb223f07e61..6739f7ee7f1f4b495badc117086ce5cca7c72b59 100644
--- a/MeshLib/Elements/TemplateTet.tpp
+++ b/MeshLib/Elements/TemplateTet.tpp
@@ -10,6 +10,8 @@
  * Created on 2012-05-02 by Karsten Rink
  */
 
+#include "logog/include/logog.hpp"
+
 #include "Node.h"
 #include "Tri.h"
 
@@ -90,7 +92,7 @@ const Element* TemplateTet<NNODES,CELLTETTYPE>::getFace(unsigned i) const
 			nodes[j] = _nodes[_face_nodes[i][j]];
 		return new Tri(nodes);
 	}
-	std::cerr << "Error in MeshLib::Element::getFace() - Index does not exist." << std::endl;
+	ERR("Error in MeshLib::Element::getFace() - Index %d does not exist.", i);
 	return NULL;
 }