mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[doc] typo
Co-Authored-By: decentral1se <lukewm@riseup.net>
This commit is contained in:
parent
5f1988c2ca
commit
aa621abf57
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ class OperationLogger(object):
|
|||
|
||||
self.file_handler = FileHandler(self.log_path)
|
||||
# We use a custom formatter that's able to redact all stuff in self.data_to_redact
|
||||
# N.B. : the stubtle thing here is that the class will remember a pointer to the list,
|
||||
# N.B. : the subtle thing here is that the class will remember a pointer to the list,
|
||||
# so we can directly append stuff to self.data_to_redact and that'll be automatically
|
||||
# propagated to the RedactingFormatter
|
||||
self.file_handler.formatter = RedactingFormatter('%(asctime)s: %(levelname)s - %(message)s', self.data_to_redact)
|
||||
|
|
Loading…
Add table
Reference in a new issue