As customizing logging configurations are not supported by apigee, is there a way logs can be set to rotate so that we are able to control log sizes?
For example, if we want to configure the Apigee UI logs to write to a new file everyday, instead of appending to the same file. This way the logs size can be managed by cleaning up any logs older than 4 weeks.
What is the best way of achieving without setting up custom logging?
Solved! Go to Solution.
You can use rolling file appender to rotate the files. Please read more details about this in the below link:
https://www.playframework.com/documentation/2.4.x/SettingsLogger
You need to set this up in the file named logback.xml. It should be available in the conf directory of respective component: /<inst_root>/apigee/<component>/conf
You can use rolling file appender to rotate the files. Please read more details about this in the below link:
https://www.playframework.com/documentation/2.4.x/SettingsLogger
You need to set this up in the file named logback.xml. It should be available in the conf directory of respective component: /<inst_root>/apigee/<component>/conf
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |