Checking Log Files
To create Log files on the VM, execute the following:
sudo -s
echo "preserve_logs true;" >> /etc/shiny-server/shiny-server.conf
service shiny-server restart
Then within the directory /var/log/shiny-server
you will see log files for your specific shiny apps.