Make disabling log saving after 50MB is written actually work.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>