I see multiple weird directories being created. With the name of {T}conf_logback.logdir{

When restarting Apigee Edge from various directories, we get a new directory called

{T}conf_logback.logdir{ , with a child directory named T} in the local directory. This newly-created child dir contains logfiles for Cassandra.

What's going on?

0 2 137
2 REPLIES 2

This is fixed in OPDK 1605 & 1609.

the workaround for the issue without updating the release is to add this line

conf_logback.logdir=${APIGEE_APP_LOGDIR}

in

/opt/apigee/apigee-cassandra/token/application/cassandra.properties

and restart cassandra

apigee-service apigee-cassandra stop
apigee-service apigee-cassandra start

There is a bug in the Cassandra configuration in the default installation of Apigee Edge, for 16.05 and16.09, which causes log directories to be created in the current working directory, whenever you invoke something like

/opt/apigee/apigee-service/bin/apigee-service  apigee-cassandra restart

or

/opt/apigee/apigee-service/bin/apigee-all restart

The Apigee bug ID is DBS-1234. To work around the problem you can add the below line to the file, /opt/apigee/apigee-cassandra/token/application/cassandra.properties :

conf_logback.logdir=${APIGEE_APP_LOGDIR}

Then, stop and restart Cassandra, or all of Apigee Edge.

Separately, you will probably want to find and remove the various directories named "{T}conf_logback.logdir{" .