From 400273f9a328b16e1a8b9e7dde7cc071ed285c0f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 17 May 2018 16:48:13 +0200 Subject: Avoid printing megabytes of data to the console. --- common/domain/applicationdomaintype.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 6e22168..3aadc2c 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp @@ -49,7 +49,8 @@ QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDom } d << " " << "Resource: " << "\t" << type.resourceInstanceIdentifier() << "\n"; for (const auto &property : properties) { - d << " " << property << "\t" << type.getProperty(property) << "\n"; + //We limit the maximum length of the property for large blob properties. + d << " " << property << "\t" << type.getProperty(property).mid(0, 75) << "\n"; } d << ")"; return d; -- cgit v1.2.3