Added limit of 500 log messages.
1.0.18