Configure log directory for RStudio Server 1.0.44

浪尽此生 提交于 2019-12-13 14:52:00

问题


I'm running RStudio Server 1.0.44 on CentOS 7.

According to the documentation, the server monitor logs are located at /var/lib/rstudio-server/monitor/log, but I'm unable to find them there. There is not monitor folder under /var/lib/rstudio-server folder, just body, conf and proxy subfolders, and there is not rstudio-server.log in the system. Maybe I missed something in the installation?

I would like to try setting the log folder manually, but I haven't found any way to set this property. Is this possible?

Any help would be appreciated.

P.S. Another user posted the same (unanswered) question in the rstudio forum.


回答1:


In my CentOS 7 Docker container, and with my RStudio Server version 1.0.136, I've managed to access to the logs using:

journalctl -u rstudio-server

Some more logs can be found using

journalctl -f

In a more general point of view, there are many logs in the following folder: /var/log/anaconda

According to RStudio Server support, another solution would be to launch rstudio-server with --server-daemonize=0 in order for the output to be directly available on standard output & error.



来源:https://stackoverflow.com/questions/40525722/configure-log-directory-for-rstudio-server-1-0-44

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!