mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-10 14:58:05 +00:00
py-i2phosts-fetcher: log injector's output
This commit is contained in:
parent
802c79b156
commit
08eedf6f2d
@ -109,5 +109,6 @@ for source in config['sources']:
|
|||||||
sp_args = [path + '/py-i2phosts-injector', '-s', '-a', '-f', filename, '-d',
|
sp_args = [path + '/py-i2phosts-injector', '-s', '-a', '-f', filename, '-d',
|
||||||
'Auto-added from ' + source_hostname]
|
'Auto-added from ' + source_hostname]
|
||||||
p = subprocess.Popen(sp_args, shell=False, stdin=None,
|
p = subprocess.Popen(sp_args, shell=False, stdin=None,
|
||||||
stdout=None, stderr=subprocess.STDOUT)
|
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
p.wait()
|
out = p.communicate()[0]
|
||||||
|
log.info('injector output: \n%s', out)
|
||||||
|
Loading…
Reference in New Issue
Block a user