Edge for Private Cloud v4.18.05
By default, Edge components use a logging level of INFO. However, you can set the
logging level for each Edge component. For example, you might want to set it to DEBUG
for the Message Processor, or to ERROR for the Management Server.
The available log levels include:
ALLDEBUGERRORFATALINFOOFFTRACEWARN
To set the log level for a component, edit the component's properties file to set a token, then restart the component:
- For the Edge UI, the tokens are
conf_logger_settings_application_log_levelandconf_logger_settings_play_log_level. Set them to the same value. - For all other Edge components, the token is
conf_system_log.level
To set the log level for the Edge UI component:
- Open
/opt/apigee/customer/application/ui.propertiesin an editor. If the file does not exist, create it. - Set the following properties in
ui.propertiesto the desired log level. For example, to set it toDEBUG:conf_logger_settings_application_log_level=DEBUG conf_logger_settings_play_log_level=DEBUG
- Save the file.
- Ensure the properties file is owned by the "apigee" user:
chown apigee:apigee /opt/apigee/customer/application/ui.properties
- Restart the Edge UI:
/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
To set the log level for other components, such as the Message Processor:
- Open
/opt/apigee/customer/application/message-processor.propertiesin an editor. If the file does not exist, create it. - Set the following property in
message-processor.propertiesto the desired log level. For example, to set it toDEBUG:conf_system_log.level=DEBUG
- Save the file.
- Ensure the properties file is owned by the "apigee" user:
chown apigee:apigee /opt/apigee/customer/application/message-processor.properties
- Restart the Message Processor:
/opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart