Implemented log message limit