> [!CAUTION]
> **Caution:** This documentation covers Edge for Private Cloud 4.18.01, which is no longer supported. Google does not provide security patches, bug fixes, or technical support for this version. The current supported version is 4.54.00. See the [Edge for Private Cloud documentation](https://docs.apigee.com/private-cloud/latest/overview) for the current version, or [All versions](https://docs.apigee.com/private-cloud/versions) to compare releases.

*Edge for Private Cloud v4.18.01*

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

1. Create the following file:  
   /opt/apigee/etc/***compName***.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. Make sure the directory is accessible by the "apigee" user  
   \> chown apigee:apigee ***/foo/bar***
4. Restart the component:  
   \> /opt/apigee/apigee-service/bin/apigee-service ***compName*** restart