logging option added to daemon tool