showLogs {rsconnect}R Documentation

Show Application Logs

Description

Show the logs for a deployed ShinyApps application.

Usage

showLogs(
  appPath = getwd(),
  appFile = NULL,
  appName = NULL,
  account = NULL,
  server = NULL,
  entries = 50,
  streaming = FALSE
)

Arguments

appPath

The path to the directory or file that was deployed.

appFile

The path to the R source file that contains the application (for single file applications).

appName

The name of the application to show logs for. May be omitted if only one application deployment was made from appPath.

account

The account under which the application was deployed. May be omitted if only one account is registered on the system.

server

Server name. Required only if you use the same account name on multiple servers.

entries

The number of log entries to show. Defaults to 50 entries.

streaming

Whether to stream the logs. If TRUE, then the function does not return; instead, log entries are written to the console as they are made, until R is interrupted. Defaults to FALSE.

Note

This function only uses the libcurl transport, and works only for ShinyApps servers.


[Package rsconnect version 1.3.1 Index]