Skip to main content

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.

  1. Accessing Rancher
  2. Go to the Storage -> ConfigMap page
  3. search rb-manager in filter
  4. searchedrb-manager-configtoedit config
  5. RB_CONSOLE_LOG_OPTIONSAdd key if it doesn't exist{"level":"debug"}Add content (Log level items: trace, debug, info, warn, error)
  6. rb-manager DeploymentreDeployrunrb-manager podWowrb-app podtoRe-run allto make
  7. after ssh access to the rb-app podlogsSubfolderrb-app-*.logCheck if the log of the changed level is recorded.
  8. For more details, check the rb-app git repo'sreadme.mdReference