I have written R shiny logs to Docker console using logger::log_error(“This is an error message”). But in docker console it is showing as
2024-06-12 13:49:54.898 [2024-06-12T08:19:54.898] [INFO] shiny-server - [/srv/shiny-server/:19] ERROR This is an error message
It is showing as [INFO]. I need it to be [ERROR].
I have also given the following code, but still it is not working
log_appender(appender_console)
log_threshold(ERROR)
New contributor
sreevidya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.