AEM author cluster : Logger configuration conflict in leader and non leader and logger not picking relative path | Community
Skip to main content
gurup34365977
Level 2
June 9, 2021
Question

AEM author cluster : Logger configuration conflict in leader and non leader and logger not picking relative path

  • June 9, 2021
  • 1 reply
  • 725 views

Hi,

 

We are using AEM author clustering using mongo DB document node store and shared datastore. Earlier we installed crx-quickstart at host level i.e. /abc/app/aem/crx-quickstart/ . Due to some infra changes, we have moved crx-quickstart in both leader and non leader to Shared mount as below. Consider 

Leader crx path : /abc/app/sharedmount/aem-leader/crx-quickstart

Non leader crx path: /abc/app/sharedmount/aem-nonleader/crx-quickstart

 

we are facing issue while configuring the logger

- Conflict of logs in leader and non leader : When we create any new log file in leader with path /abc/app/sharedmount/aem-leader/crx-quickstart/logs/custom.log, same log path in non leader also creating logs instead of non leader path. Which making conflict.

 

- Relative path: Even though we crated new log file in 'Apache Sling Logging Logger Configuration' with relative path. Sling log configuration it is showing absolute path.

 

Please find attachments for more info.

 

Regards,

Guru Pavan

 

 
Updating Media

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

gurup34365977
Level 2
June 9, 2021

Please help me to resolve the issue.