fix
parent
15c1938bd0
commit
cc86ce8887
|
|
@ -57,7 +57,6 @@ def submit_benchmark(data, username, console_logging):
|
|||
formatter = logging.Formatter(f'%(asctime)s %(hostname)s SDBENCHMARK: {username} %(message)s', datefmt='%b %d %H:%M:%S')
|
||||
syslog.setFormatter(formatter)
|
||||
remote = logging.getLogger('SDBENCHMARK')
|
||||
remote.error('BLAAA1')
|
||||
for h in remote.handlers: # remove local handlers
|
||||
remote.removeHandler(h)
|
||||
remote.addHandler(syslog)
|
||||
|
|
|
|||
Loading…
Reference in New Issue