Users can access a list of available log files for the selected environment using the Environment Card. Users can access a list of available log files for the selected environment.
These files can be downloaded through the UI, either from the Overview page:
Or, the Environments page:
Regardless of where it is opened, the same dialog appears and allows for an individual log file to be downloaded.
In addition to downloading logs through the UI, logs will be available through the API and the Command Line Interface.
For example, to download the log files for a specific environment, the command would be something alone the lines of
$ aio cloudmanager:download-logs --programId 5 1884 author aemerror
The following command allows the tailing of logs:
$ aio cloudmanager:tail-log --programId 5 1884 author aemerror
In order to obtain the environment Id (1884 in this case) and the available service or log name options you can use:
$ aio cloudmanager:list-environments
Environment Id Name Type Description
1884 FoundationInternal_dev dev Foundation Internal Dev environment
1884 FoundationInternal_stage stage Foundation Internal STAGE environment
1884 FoundationInternal_prod prod Foundation Internal Prod environment
$ aio cloudmanager:list-available-log-options 1884
Environment Id Service Name
1884 author aemerror
1884 author aemrequest
1884 author aemaccess
1884 publish aemerror
1884 publish aemrequest
1884 publish aemaccess
1884 dispatcher httpderror
1884 dispatcher aemdispatcher
1884 dispatcher httpdaccess
While Log Downloads will be available through both the UI and API, Log Tailing is API/CLI-only.
Refer to the following additional resources to learn more about the Cloud Manager API and Adobe I/O CLI: