How log rotation work in apigee opdk

hii all,

i want to setup log rotation of every components based on there size.

rohanjangid_0-1624951589246.png

i already had a log artifact i haven't setup log rotation configuration 

can anybody tell me how it is artifacts done and where is the configuration file is present for this 

Thanks,

Solved Solved
0 5 394
1 ACCEPTED SOLUTION

/opt/apigee/apigee-service/bin/apigee-service apigee-zookeeper configure -search conf_logback_maxfilesize

 

Also check this: https://docs.apigee.com/private-cloud/v4.19.01/how-configure-edge#determiningthecurrentvalueofatoken

 

When you work with configurations (CWC) that is documented, once component restarted you can see in the logs 'Delta changed XX>XX' and you can verify with link I gave you that this setting accepted.

View solution in original post

5 REPLIES 5

Thanks for respond i made these changes how can i verify the current size of my Cassandra and zookeeper components 

Size of components or size of the logs? These are for applicative log rotation. 

 

cd /opt/apigee/var/log/(components) and then ls -ltr you will see the size of the files (if I get your question correctly) 

like as we just change the size of logs file using 

rohanjangid_0-1624952810386.png

so now i want to confirm what is size of current configuration like said if i apply maxfilesize would be 5Gb

 so now how can i reverify the size file is applied 5GB?

/opt/apigee/apigee-service/bin/apigee-service apigee-zookeeper configure -search conf_logback_maxfilesize

 

Also check this: https://docs.apigee.com/private-cloud/v4.19.01/how-configure-edge#determiningthecurrentvalueofatoken

 

When you work with configurations (CWC) that is documented, once component restarted you can see in the logs 'Delta changed XX>XX' and you can verify with link I gave you that this setting accepted.