Make maxLogSize configurable

Created by  Eelco Dolstra  on September 22, 2017
IGLIPGT6YNX4JNXGZM27GJHUQK72DSWSO7LNJ5OAHVGYVIXSDWNAC
Change contents