Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
gurup34365977
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
gurup34365977
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
gurup34365977
Level 1

09-06-2021

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

 

Screen Shot 2021-06-09 at 5.04.33 PM.png

Screen Shot 2021-06-09 at 5.05.26 PM.png

Screen Shot 2021-06-09 at 5.06.36 PM.png

 
Updating Media

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
gurup34365977
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
gurup34365977
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
gurup34365977
Level 1

09-06-2021

Please help me to resolve the issue.