AEM as a Cloud Services does not support custom log files, however it does support custom logging.
This video we will see AEM As Cloud Service Debug, Analyze Logs
For Java logs to be available in AEM as a Cloud Service (via Cloud Manager or Adobe I/O CLI), custom log statements must be written the error.log. example.log, will not be accessible from AEM as a Cloud Service.
AEM Author and Publish service logs
Both AEM Author and Publish services provide AEM runtime server logs:
aemerror , aemaccess , aemrequest
AEM Publish Dispatcher logs
httpdaccess , httpderror ,aemdispatcher
Adobe I/O CLI with Cloud Manager plugin
Adobe Cloud Manager supports accessing AEM as a Cloud Service logs via the Adobe I/O CLI with the Cloud Manager plugin for the Adobe I/O CLI.
https://github.com/adobe/aio-cli-plug...
Deployment Logs
Build & Unit Testing
Code Scanning
Build Images
Deploy to Stage
Product Functional Testing
Custom Functional Testing
Custom UI Testing
Final Deployment Logs
Helps to understand the code scanning issues in AEM as cloud