Users can access a list of available log files for the selected environment using the Environments card from the Overview page or Environment Details page.
Follow the steps below to download logs.
Navigate to the Environments card from the Overview page.
Select Download Logs from the … menu.
From the Environment Details page:
Regardless of where it is opened, the same dialog appears and allows for an individual log file to be downloaded.
From the Service drop-down menu, select options such as Preview or Preview Dispatcher, followed by clicking on the download icon.
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 along 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: