diff --git a/tox.ini b/tox.ini index 53dfe8b..45e1b70 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ envlist = py{37}-spawn_pipe [testenv] description = Unit tests setenv = - WEXPECT_LOGGER_LEVEL = DEBUG + WEXPECT_LOGGER_LEVEL = SPAM spawn_pipe: WEXPECT_SPAWN_CLASS=SpawnPipe legacy_wexpect: WEXPECT_SPAWN_CLASS=legacy_wexpect commands = diff --git a/wexpect/console_reader.py b/wexpect/console_reader.py index f927fb9..6435052 100644 --- a/wexpect/console_reader.py +++ b/wexpect/console_reader.py @@ -341,7 +341,9 @@ class ConsoleReaderBase: readlen = 4000 endPoint = self.getCoord(startOff + readlen) + logger.spam(f'readlen: {readlen} startCo: {startCo}') s = self.consout.ReadConsoleOutputCharacter(readlen, startCo) + logger.spam(f'ReadConsoleOutputCharacter:{s}') self.lastRead += len(s) self.totalRead += len(s) buff.append(s)