Added functionality to remove log sources after they are added.