Fix log statement not being behind a reader conditional