From cd545e51b0338638cc7211ad335c63854033a979 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 17 Mar 2019 16:08:31 -0400 Subject: [PATCH] [partition] Reduce superfluous logging --- src/modules/partition/jobs/FillGlobalStorageJob.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/partition/jobs/FillGlobalStorageJob.cpp b/src/modules/partition/jobs/FillGlobalStorageJob.cpp index 1f4026dec..72146e2a0 100644 --- a/src/modules/partition/jobs/FillGlobalStorageJob.cpp +++ b/src/modules/partition/jobs/FillGlobalStorageJob.cpp @@ -45,7 +45,6 @@ typedef QHash UuidForPartitionHash; static UuidForPartitionHash findPartitionUuids( QList < Device* > devices ) { - cDebug() << "Gathering UUIDs for partitions that exist now."; UuidForPartitionHash hash; foreach ( Device* device, devices ) { @@ -56,12 +55,11 @@ findPartitionUuids( QList < Device* > devices ) QString path = p->partitionPath(); QString uuid = p->fileSystem().readUUID( p->partitionPath() ); hash.insert( path, uuid ); - cDebug() << ".. added path=" << path << "UUID=" << uuid; } } if ( hash.isEmpty() ) - cDebug() << ".. no UUIDs found."; + cDebug() << "No UUIDs found for existing partitions."; return hash; } @@ -147,7 +145,6 @@ FillGlobalStorageJob::prettyDescription() const QString path = partitionMap.value( "device" ).toString(); QString mountPoint = partitionMap.value( "mountPoint" ).toString(); QString fsType = partitionMap.value( "fs" ).toString(); - qDebug() << partitionMap.value( "uuid" ) << path << mountPoint << fsType; if ( mountPoint.isEmpty() || fsType.isEmpty() ) continue; if ( path.isEmpty() )