make logging optional in scale illuminator