Adding -log paramater