[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:
Adriaan de Groot 2021-11-16 15:31:35 +01:00
parent 5a4e2b73ab
commit efe84bc6c0

View File

@ -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();
}
}
}