Add switch to the running data logging