How to Change the Log Level of the rb-app Service
Inside the rb-app pod,logsThere is a folder, and inside itrb-app-*.logLogs are accumulated in the format, and when you want to change the log level, the following tasks are necessary.
- Accessing Rancher
- Go to the Storage -> ConfigMap page
- search rb-manager in filter
- searched
rb-manager-configtoedit config RB_CONSOLE_LOG_OPTIONSAdd key if it doesn't exist{"level":"debug"}Add content (Log level items: trace, debug, info, warn, error)- rb-manager Deployment
reDeployrunrb-manager podWowrb-app podtoRe-run allto make - after ssh access to the rb-app pod
logsSubfolderrb-app-*.logCheck if the log of the changed level is recorded. - For more details, check the rb-app git repo's
readme.mdReference