How can we edit properties in logback xml file?

We want to edit 'sensitiveDataPattern' property in /opt/apigee/edge-management-server-4.17.05-0.0.1231/conf/logback.xml file on Private Cloud version 4.17.05

Do we need to create a file /opt/apigee/customer/application/management-server.properties and add the property in there ?

Please let us know how to update the property 'sensitiveDataPattern'.

0 1 486
1 REPLY 1

After some experiment, I found that the following steps can be used to update the property 'sensitiveDataPattern' on the Management Server component:

  1. Make a copy of existing /opt/apigee/edge-management-server-4.17.05-0.0.123/source/conf/logback.xml as /opt/apigee/edge-management-server-4.17.05-0.0.123/source/conf/logback.xml_backup
  2. Edit the source file /opt/apigee/edge-management-server-4.17.05-0.0.123/source/conf/logback.xml and update the property to the new value.
  3. Save the file.
  4. Restart the Management Server.
    apigee-service edge-management-server restart