mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove redundant text from syslog returner
The implicit call to syslog.openlog will already add salt-minion (technically `sys.argv[0]`) to the syslog.syslog call. It's redundant (and not technically correct) to have salt-minion here. Can also be applied to 2015.8 and develop without issue. Fixes #27756
This commit is contained in:
parent
a130896d1c
commit
0994fb6a8c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def returner(ret):
|
|||
'''
|
||||
Return data to the local syslog
|
||||
'''
|
||||
syslog.syslog(syslog.LOG_INFO, 'salt-minion: {0}'.format(json.dumps(ret)))
|
||||
syslog.syslog(syslog.LOG_INFO, '{0}'.format(json.dumps(ret)))
|
||||
|
||||
|
||||
def prep_jid(nocache=False, passed_jid=None): # pylint: disable=unused-argument
|
||||
|
|
Loading…
Add table
Reference in a new issue