Merge pull request #181 from lgrawet/fix_logging

options.py: fix logging
pull/189/head
Pavel Loginov 2019-11-27 19:22:13 +03:00 committed by GitHub
commit 4e7b99cb80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -609,7 +609,7 @@ if form.getvalue('master'):
output, error = funct.subprocess_execute(commands[0])
if error:
logging('localhost', error, haproxywi=1)
funct.logging('localhost', error, haproxywi=1)
print('error: '+error)
else:
for l in output:
@ -634,7 +634,7 @@ if form.getvalue('master'):
output, error = funct.subprocess_execute(commands[0])
if error:
logging('localhost', error, haproxywi=1)
funct.logging('localhost', error, haproxywi=1)
print('error: '+error)
else:
for l in output:
@ -681,7 +681,7 @@ if form.getvalue('masteradd'):
output, error = funct.subprocess_execute(commands[0])
if error:
logging('localhost', error, haproxywi=1)
funct.logging('localhost', error, haproxywi=1)
print('error: '+error)
else:
for l in output:
@ -707,7 +707,7 @@ if form.getvalue('masteradd'):
output, error = funct.subprocess_execute(commands[0])
if error:
logging('localhost', error, haproxywi=1)
funct.logging('localhost', error, haproxywi=1)
print('error: '+error)
else:
for l in output: