Not the way to be doing it. What you're doing is connecting to the Cube and trying to download the logs saved internally on the cube's SD card. That will take hours over the UDP wifi link. That is only useful when connected to the cube by USB. Not worth messing around with.
The log files you want for easy access are on the IMX in the /log/dataflash folder. You get them with SSH/SCP as usual.