take logs