In an Azure environment, the Azure CLI shutdown agent SA_vmazureReset provides the function to shut down a node (virtual machine) using the Azure CLI.
The log file is stored in the following:
/var/opt/SMAWsf/log/SA_vmazureReset.log