Set file log max size

Set file log max size to 1MB