OK, somewhere in the syslog file there's a non UTF-8 character. to prevent this kind of error to stop the S3 test loop I suggest to catch the exception like this:
except UnicodeDecodeError: continue
OK, somewhere in the syslog file there's a non UTF-8 character. to prevent this kind of error to stop the S3 test loop I suggest to catch the exception like this:
except UnicodeDecodeError:
continue