limiting console memory requirement

UPDATE: BUG: do not merge, see last comment.
Limits the memory that is used to store log messages for the console to 1000 entries