Add max list length parameter

Hi,

I propose to add a max list length for the monolog handler.
Because there is currently no way to limit the logs.

Ben.