mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 17:05:36 -04:00
[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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue