Loggin R Output to Container

Is there a way to send the R output to a log file within the container?

If I were in a Linux, I’d just redirect the output like

$ R -e "shiny::runApp('/root/app')" >> Rout.log

So I figured maybe there’s a way to include this in the docker-cmd line in the application.yml file, but I wasn’t able to make it work.

Hi @Jonas_Hall,

This is possible with the following setting:

  container-log-path: /path/to/container-logs

as described in https://www.shinyproxy.io/configuration/#reporting-issues

Hi @mnazarov,

oh, my bad! Thanks!