The command that you are using is incorrect or maybe a typo. There is a 's' missing after log in the command.
Use below command to fetch the logs.
Yarn logs -applicationId <application id of the job>
Please accept this answer if you find it useful to resolve your issue.