View Application Logs from the Command Line
About this task
- Get the Application ID
- To get the application ID for an application that is in a "running" state, you
can run the following
command:
yarn application -list
- View Application Logs
- Run the following command to view log files for an
application:
yarn logs -applicationId <application-ID> //Example: yarn logs -applicationId application_1603118361219_0002