Is it required to restart app after updating syslog drain service?
search cancel

Is it required to restart app after updating syslog drain service?

book

Article ID: 383123

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

After update the syslog drain (e.g URL) service which is binding to an app, is it required to restart/restage the app? 

Environment

Tanzu Platform for Cloudfoundry (TPCF)

  • 2.x
  • 3.x
  • 4.x

Resolution

The app log is forwarded at following path: 

  • garden => loggr-forwarder-agent=> loggr-syslog-agent=> app log drain(such as external Splunk)

loggr-syslog-agent fetches the syslog bindings from loggr-syslog-binding-cache at regular base, once the binding is updated, the log will accordingly be forwarded to new endpoint, app instance itself is not related to the service or binding change, thus it is not required to restart the app.