R Shiny at IQSS
  • Introduction
  • Getting started
    • Determining your resource requirements
    • Applying for an account
  • Deploying
    • Setup your environment
    • Deploying an example Shiny app
    • Bootstrapping a new Shiny app or migrating a pre-existing Shiny application
    • Developing locally with RStudio
    • Developing locally using Docker
    • Speeding up deployments with Packrat
  • Configuration
    • Setting up a custom domain for your Shiny app
    • Installing additional system-level packages
    • Limiting the number of R Threads
  • Best Practices
    • File storage
    • Using promises
    • Adding routes
  • Troubleshooting
    • Resolving Application Error screen
    • Viewing app logs
    • Viewing resource consumption
    • Configuring Shiny session auto-reconnect
    • Getting support
Powered by GitBook
On this page
  • Using the CLI
  • Using the Heroku dashboard
  • Common log entries
  1. Troubleshooting

Viewing app logs

PreviousResolving Application Error screenNextViewing resource consumption

Last updated 5 years ago

You can view your Shiny application's logs either through the CLI or through the Heroku dashboard.

Using the CLI

Run the following - replacing docker-r-example-app with the name of your application.

heroku logs -a docker-r-example-app -t

Using the Heroku dashboard

Open your application in the Heroku dashboard, click More and then View Logs.

Common log entries

Look for

Error R14 (Memory quota exceeded)

This means you ran out of memory. You may need to change the number of R Threads running, optimize your application, or choose a larger dyno size.

In addition, look for R runtime or library errors. These errors can be preempted before deploying your app publically by

running your application locally with Docker first.
Click More, View Logs
View your logs