Facing issue in implementing FILE based Logging.

Hi Team,

We are implementing File based logging functionality.

1. We used log action and used File based logging as shown below in the snapshot.

8243-filebasedlogging-01.png

2. We saved and executed the proxy. We noticed that the log file TestProxy_MS001.log is not getting generated under below path.

/opt/apigee/var/log/edge-message-processor/work/o/ClientName/e/dev/a/TestProxy_MS001__1

8244-filelocation.png

We try checking the log file path also but no luck. Could you please suggest us on this. Aprriciate your early response.

Thanks,

Amit

0 4 132
4 REPLIES 4

The file should be created in a subdirectory under /opt/apigee/var/log/edge-message-processor/messagelogging/ - do you see the log file there?

@Christian King

We are not seeing the messagelogging folder under /opt/apigee/var/log/edge-message-processor/.

Could you suggest what could be the issue?

I'm assuming you've deployed a proxy with the file-based message logging configured and have executed it, correct? Does the Apigee user have sufficient permissions to create the directory?

Yes @Christian King. Proxy is deployed with file based message logging and they apigee user have permission to create the directory. The directory is being created but under directory there is no log file present.