diff --git a/tests/entity.cpp b/tests/entity.cpp
index f757d8c838f70da6de470a7301d72d1a0e4f70cb..41a9348f091a2c241bd4ff0dc7b9eed597314d7b 100644
--- a/tests/entity.cpp
+++ b/tests/entity.cpp
@@ -13,6 +13,8 @@
 // You should have received a copy of the GNU Lesser General Public License
 // along with dynamic-graph.  If not, see <http://www.gnu.org/licenses/>.
 
+#define ENABLE_RT_LOG
+
 #include <sstream>
 #include <dynamic-graph/entity.h>
 #include <dynamic-graph/exception-factory.h>