設定記錄檔位置

私有雲版本 4.17.01 版本

根據預設,邊緣元件的記錄檔會寫入 /opt/apigee/var/log/componentName 目錄。 請使用以下程序,變更 Edge UI 以外的所有邊緣元件的預設位置:

  1. 建立以下檔案:
    /opt/apigee/etc/componentName.d/APIGEE_APP_LOGDIR.sh
  2. 在檔案中新增下列屬性:
    APIGEE_APP_LOGDIR=/foo/bar
    其中 /foo/bar 會指定記錄檔的目錄。
  3. 重新啟動元件:
    > /opt/apigee/apigee-service/bin/apigee-service compName 重新啟動