In 16.01, I see that we need to create a separate file for each component with the name <component-name>.properties in /opt/apigee/customer/application/ directory to set the properties with appropriate values. So the filename for Zookeeper would zookeeper.properties.
By default, the Apache Zookeeper log files are kept in /<inst_root>/apigee/var/log/zookeeper directory. I am not able to find any information on what property should I set to change the log file location for Zookeeper.
Can someone let me know how to change the log file location for zookeeper ?
Solved! Go to Solution.
Hi there!
You should be able to change the Zookeeper log directory using the following steps:
1. Create /opt/apigee/etc/apigee-zookeeper.d/APIGEE_APP_LOGDIR.sh
2. Update the /opt/apigee/etc/apigee-zookeeper.d/APIGEE_APP_LOGDIR.sh with the below properties:
APIGEE_APP_LOGDIR=/foo/bar
You can follow similar approach to update the all other components log directory. Here is the sample:
a. Create /opt/apigee/etc/{component}.d/APIGEE_APP_LOGDIR.sh
b. Update the /opt/apigee/etc/{component}.d/APIGEE_APP_LOGDIR.sh with the below properties:
APIGEE_APP_LOGDIR=/foo/bar
where {component} can be apigee-zookeeper or apigee-cassandra or edge-management-server or edge-message-processor or edge-qpid-server, etc
Hope this helps.
Thanks,
Archendra