Changing rstudio temp log location


Our rstudio log files are by default written below. How can we change it to some other directory?


We are constantly running into a problems where we fill up the disk space and can cause postgres to shutdown.


It's not clear to me which RStudio product you are using. At first I thought this is probably RStudio Server Pro, but the fact you're using PostGres indicates that perhaps you are talking about RStudio Connect.

As far as I can tell, neither of these products store log files by default in the location you mention. You can find the default locations and how to change these in the respective admin guides, at and

I would have suggested that you post the contents of the Connect configuration file, /etc/rstudio-connect/rstudio-connect.gcfg, but this is likely to contain some confidential information.

So, I can suggest the following options:

1 Like