pull/18/head
Vladimir Mandic 2023-04-19 23:53:09 -04:00
parent 15c1938bd0
commit cc86ce8887
1 changed files with 0 additions and 1 deletions

View File

@ -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)