Toned down the debugging a bit.

This commit is contained in:
Anton Hvornum 2021-03-29 16:11:30 +02:00
parent 39cb0b94d9
commit d26c1f820d
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 3 additions and 2 deletions

View File

@ -189,8 +189,9 @@ class Partition():
@encrypted.setter
def encrypted(self, value :bool):
log(f'Marking {self} as encrypted', level=LOG_LEVELS.Debug)
log(f"Callstrack when marking the partition: {''.join(traceback.format_stack())}", level=LOG_LEVELS.Debug)
if value:
log(f'Marking {self} as encrypted: {value}', level=LOG_LEVELS.Debug)
log(f"Callstrack when marking the partition: {''.join(traceback.format_stack())}", level=LOG_LEVELS.Debug)
self._encrypted = value
@property