-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to enable debug logs in shiny server. #4121
Comments
The full documentation for the logging features of Shiny Server are here: https://docs.posit.co/shiny-server/#logging-and-analytics but the TL;DR is that the application logs are in /var/logs/shiny-server/*.log. |
@jcheng5 Thank you for the suggestion provided. However, after adding the line "env SHINY_LOG_LEVEL=DEBUG" in etc/shiny-server.conf and post stopping and starting the shiny-server service we are getting error while starting the service. Also, the conf file in our case is not present in the location /etc/init instead it is directly present under /etc/shiny-server folder. Please suggest on the next steps to be followed in order to view the logs. |
We have a web-based Shiny server application that is used to copy files in a virtual machine from Azure.
As a user, after visiting the application, I encounter an error in the UI showing Disconnected from Server with a reload option. How to enable debug logs in shiny server.
Upon further inspection in the developer tools (Chrome) in console, I can see the message:
“The application unexpectedly exited. Diagnostic information is private. Please ask your system admin for permission if you need to check the R logs.”
I would appreciate if someone could let us know how to enable the debug logs in shiny server suggestions and how we should monitor R logs to diagnose this issue. If anyone has faced a similar issue with their Shiny app, your help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: