Loggin R Output to Container


#1

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.


#2

Hi @Jonas_Hall,

This is possible with the following setting:

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

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


#3

Hi @mnazarov,

oh, my bad! Thanks!