mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #50012 from dwoz/norm_log
Use normal log formatting and add jid
This commit is contained in:
commit
a6a66b9b3f
1 changed files with 1 additions and 1 deletions
|
@ -1430,7 +1430,7 @@ class Minion(MinionBase):
|
|||
|
||||
sdata = {'pid': os.getpid()}
|
||||
sdata.update(data)
|
||||
log.info('Starting a new job with PID {0}'.format(sdata['pid']))
|
||||
log.info('Starting a new job %s with PID %s', data['jid'], sdata['pid'])
|
||||
with salt.utils.fopen(fn_, 'w+b') as fp_:
|
||||
fp_.write(minion_instance.serial.dumps(sdata))
|
||||
ret = {'success': False}
|
||||
|
|
Loading…
Add table
Reference in a new issue