Added logging option in UI