Skip to content

Commit

Permalink
Merge pull request #1317 from manics/rstudio-logging
Browse files Browse the repository at this point in the history
rstudio: log-level info to stderr
  • Loading branch information
consideRatio authored Oct 22, 2023
2 parents 8bdf681 + 72cfc12 commit 57d229e
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 57d229e

Please sign in to comment.