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.
Syntax
psm accs get-logs
-n|--app-name name
-i|--instance-name name
[-of|--output-format json|html|short]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
-n , --app-name |
Name of the application. |
-i , --instance-name |
Name of the application instance. |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Example
$ 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