limit the size of console output messages to 1k