mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove redundant section in log setup
This commit is contained in:
parent
177c686b52
commit
102e966512
1 changed files with 0 additions and 7 deletions
|
@ -338,13 +338,6 @@ class SaltLoggingClass(six.with_metaclass(LoggingMixInMeta, LOGGING_LOGGER_CLASS
|
|||
# If nothing else is in extra, make it None
|
||||
extra = None
|
||||
|
||||
salt_system_encoding = __salt_system_encoding__
|
||||
if salt_system_encoding == 'ascii':
|
||||
# Encoding detection most likely failed, let's use the utf-8
|
||||
# value which we defaulted before __salt_system_encoding__ was
|
||||
# implemented
|
||||
salt_system_encoding = 'utf-8'
|
||||
|
||||
# Let's try to make every logging message unicode
|
||||
salt_system_encoding = __salt_system_encoding__
|
||||
if salt_system_encoding == 'ascii':
|
||||
|
|
Loading…
Add table
Reference in a new issue