Inprove log dependencies