Hi rcgayle,
I think you could edit your server config file (see /etc/shiny-server/shiny-server.conf) so that logs are kept. You will need to add preserve_logs true; at the top of your file:
# Instruct Shiny Server to run applications as the user "shiny"
run_as username;
# run_as ubuntu;
preserve_logs true;
# Define a server that listens on port 3838
server {
listen 3838;
# Define a location at the base URL
location / {
# Host the directory of Shiny Apps stored in this directory
site_dir /srv/shiny-server;
# Log all Shiny output to files in this directory
log_dir /var/log/shiny-server;
# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will be shown.
directory_index off;
}
}
Then stop and start the server or restart depending on its current state. Logs should be preserved in the /var/log/shiny-server directory.
Let me know how it goes!