fix for log failure in instrument_control.py