How to fix Embedded Kafka Logs not available in Pega tomcat installation
Hi,
We were facing issue where kafka logs (server,controller, state,etc) were not getting generated in any of our envs including production with Tomcat server and MS SQL database.
The Kafka version folder timestamp was also not getting updated. However, the stream nodes were running fine with no issues.
We however, got few issues with stream node as part of upgrade and were under need to get kafka logs available to identify root cause.
Below is approach followed which enabled Kafka logs for us in all envs.
1. Remove all old Kafka version folder in Tomcat folder. Only keep current Kafka folder (for us Proprietary information hidden)
2. Stop the tomcat server
3. Add the below entry in prconfig.xml
<env name="dsm/services/stream/pyUnpackBasePath" value="/your_desired_path/kafka" >
4. Start the server
After server is restarted, we can see Kafka folder coming up in desired mentioned path.