psm accs get-logs

This command generates a log for an Oracle Application Container Cloud Service application instance.

You must use this command before you can view log details using the psm accs log or psm accs logs command.


psm accs get-logs 
-n|--app-name name 
-i|--instance-name name 
[-of|--output-format json|html|short] 


All parameters are required unless otherwise noted.

Parameter Description
-n, --app-name Name of the application.
-i, --instance-name Name of the application instance.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.


$ psm accs get-logs -n employees-app -i web.1 -of json
    "message":"Log Request Accepted"

More Information

Exploring the Application Logs and Recordings Page in Using Oracle Application Container Cloud Service