mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
log.mixins: remove extermporaneous .record
This commit is contained in:
parent
0cc1d5db03
commit
9f9c694654
1 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ class ExcInfoOnLogLevelFormatMixIn(object):
|
|||
# We also use replace for when there are multiple
|
||||
# encodings, e.g. UTF-8 for the filesystem and latin-1
|
||||
# for a script. See issue 13232.
|
||||
formatted_record += record.record.exc_info_on_loglevel_formatted.decode(sys.getfilesystemencoding(),
|
||||
'replace')
|
||||
formatted_record += record.exc_info_on_loglevel_formatted.decode(sys.getfilesystemencoding(),
|
||||
'replace')
|
||||
|
||||
return formatted_record
|
||||
|
|
Loading…
Add table
Reference in a new issue