Setting log file location

Edge for Private Cloud v. 4.16.05

By default, the log files for an Edge component are written to the /<inst_root>/apigee/var/log/componentName directory. Use the following procedure to change the default location for all Edge components except the Edge UI:

  1. Create the following file:
    /<inst_root>/apigee/etc/componentName.d/APIGEE_APP_LOGDIR.sh
  2. Add the following property to the file:
    APIGEE_APP_LOGDIR=/foo/bar
    where /foo/bar specifies the directory for the log files.
  3. Restart the component:
    > /<install_dir>/apigee/apigee-service/bin/apigee-service compName restart