We observed that the nginx router logs are taking lot of space. Can you please let us know how we can disable access and error logs for nginx routers in Private Cloud versions 16.01 or higher ?
To disable access and error logs on nginx routers, you can send them to /dev/null. You can do this by following the below steps:
1. Add the below properties into /<inst_root>/apigee/customer/application/router.properties
file
conf_load_balancing_load.balancing.driver.nginx.access.log=/dev/null conf_load_balancing_load.balancing.driver.nginx.error.log=/dev/null
Note: If the file router.properties doesn’t exist, create it and add the above mentioned properties.
2. Restart the router
/<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
Is There any way we can rotate nginx router logs?
See Log Rotation section of the document above.
Is There any way we can rotate nginx router logs?
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |