Cannot use "log" on commandline to connect to iPad system logs

I run: sudo log collect --device-name "iPadName" --last 1h

and the error I get is:

log: failed to create archive: Device not configured (6)