[partition] Don't log private names
- log device node (/dev/sdb) instead of its name - don't log job's prettyName() because that's translated, and also contains user-visible private names (introducing a non-translated, nicely redacted version of prettyName() seems like too much effort for something that can be reconstructed from bits earlier in the log)
This commit is contained in:
parent
5a4e2b73ab
commit
efe84bc6c0
@ -709,10 +709,10 @@ PartitionCoreModule::dumpQueue() const
|
||||
cDebug() << "# Queue:";
|
||||
for ( auto info : m_deviceInfos )
|
||||
{
|
||||
cDebug() << Logger::SubEntry << "## Device:" << info->device->name();
|
||||
cDebug() << Logger::SubEntry << "## Device:" << info->device->deviceNode();
|
||||
for ( const auto& job : info->jobs() )
|
||||
{
|
||||
cDebug() << Logger::SubEntry << "-" << job->prettyName();
|
||||
cDebug() << Logger::SubEntry << "-" << job->metaObject()->className();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user