Add switch to start logging per config