I added .ebextensions/start.config file to the root folder of my WAR bundle (as suggested by AWS), deployed it to Elastic Beanstalk, but nothing happened. Where
For Windows, the log file that contains your custom ebextension output is not part of the EB logs that you get via the EB console "request logs" command. But, you can easily add that log file to the bundle via this file command in an .ebextension file:
files:
"C:\\Program Files\\Amazon\\ElasticBeanstalk\\config\\taillogs.d\\cfn-init-cmd.conf" :
content: |
c:\cfn\log\cfn-init-cmd.log
All it does is create a new config file (cfn-init-cmd.conf) with the name of the log file (cfn-init-cmd.log) that you want added to the log bundle.