Runtime logs

Use the runtime logs to help diagnose problems with the apigee-runtime pods. Each runtime pod contains a message processor, which is responsible for processing API proxy traffic, executing policies, routing requests, and more. See also Logging.

Accessing logs

Hybrid message processor logs can be found under

/opt/apigee/var/log/apigee-runtime/config.log

System log can be found using:

kubectl logs -f -n hybrid apigee-runtime-apigee-gcp-prod1-test-blue-hd77q

Message processor error codes

The following error codes can occur in the runtime logs:

Error Description
runtime.sync.ContractLoadFailed This error usually indicates a connection problem between the synchronizer and the management plane, or between the synchronizer and message processor. See xxx for troubleshooting details.

Message processor runtime error logs

Look for the following entries in the message processor logs:

Log entry Description
hybrid-runtime Apigee-Timer-9 INFO RUNTIME-SYNC-SERVICE - RuntimeSyncServiceImpl.updateToVersion() : Switched to newer version 750 from version null Update to a new version of configuration
hybrid-runtime Apigee-Timer-6 INFO RUNTIME-SYNC-SERVICE - RuntimeSyncServiceImpl.loadLatestVersionIfAvailable() : Found a newer version 750 Load the latest version from version.properties
hybrid-runtime Apigee-Timer-6 INFO RUNTIME-SYNC-SERVICE - RuntimeSyncServiceImpl.updateToVersion() : Attempting to update to a newer version 750 Update to a new version of configuration
hybrid-runtime Apigee-Timer-6 INFO RUNTIME-SYNC-SERVICE - RuntimeSyncServiceImpl.updateToVersion() : Switched to newer version 751 from version 750 Load the latest version from version.properties

Message processor deployment error logs

Look for the following deployment error entries in the message processor logs:

Log entry Description
hybrid-runtime org:hybrid env:prod Apigee-Main-6 ERROR i.a.h.e.i.HermesEngineImpl - HermesEngineImpl.handleHermesException() : Keyspace cache_hybrid_hybrid does not exist Keyspace cache__hybrid is not provisioned in runtime Cassandra.
hybrid-runtime org:hybrid Apigee-Timer-9 ERROR c.a.s.e.k.HybridEncryptionKeyServiceImpl - HybridEncryptionKeyS erviceImpl.getEncryptionKey() : Encryption key does not exist for organization hybrid and type KmsKey Keyspace kms__hybrid might not be provisioned in runtime Cassandra.