summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-17 16:48:13 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-17 16:48:13 +0200
commit400273f9a328b16e1a8b9e7dde7cc071ed285c0f (patch)
tree6d18a57728fd268cd90e2c0e2d4f34927d66f6f8 /common
parent94d2595281d8c992dfad37518d9677827541ed6c (diff)
downloadsink-400273f9a328b16e1a8b9e7dde7cc071ed285c0f.tar.gz
sink-400273f9a328b16e1a8b9e7dde7cc071ed285c0f.zip
Avoid printing megabytes of data to the console.
Diffstat (limited to 'common')
-rw-r--r--common/domain/applicationdomaintype.cpp3
1 files changed, 2 insertions, 1 deletions
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
49 } 49 }
50 d << " " << "Resource: " << "\t" << type.resourceInstanceIdentifier() << "\n"; 50 d << " " << "Resource: " << "\t" << type.resourceInstanceIdentifier() << "\n";
51 for (const auto &property : properties) { 51 for (const auto &property : properties) {
52 d << " " << property << "\t" << type.getProperty(property) << "\n"; 52 //We limit the maximum length of the property for large blob properties.
53 d << " " << property << "\t" << type.getProperty(property).mid(0, 75) << "\n";
53 } 54 }
54 d << ")"; 55 d << ")";
55 return d; 56 return d;