Как настроить доступ к блестящим логам приложений? - PullRequest
0 голосов
/ 14 июля 2020

Я пытался записать все журналы моих блестящих приложений. Проверяя / var / log / shiny-server, я увидел, что журналов мало, и последний - от 10.10.2019. После этой даты их больше нет. Я попытался добавить preserve_logs в shiny-server.config, но никаких изменений у меня не было. Мой shiny-server.config выглядит так:

# Instruct Shiny Server to run applications as the user "shiny"
run_as shiny;

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 on;
  }
}
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...