Skip to content

Commit

Permalink
rstudio: log-level info to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Oct 22, 2023
1 parent 8bdf681 commit 72cfc12
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions repo2docker/buildpacks/r.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,15 @@ def get_build_scripts(self):
echo "r-cran-repos=${{EXPANDED_CRAN_MIRROR_URL}}" > /etc/rstudio/rsession.conf
""",
),
(
"root",
# Configure log-level and send to stderr
# Set log-level=debug to investigate problems
# https://docs.posit.co/ide/server-pro/server_management/logging.html
rf"""
printf '[*]\nlog-level=info\nlogger-type=stderr\n' > /etc/rstudio/logging.conf
""",
),
(
"${NB_USER}",
# Install a pinned version of devtools, IRKernel and shiny
Expand Down

0 comments on commit 72cfc12

Please sign in to comment.