Can we modify Log files path on AEM server? | Community
Skip to main content
adivj95
Level 2
December 26, 2023
Solved

Can we modify Log files path on AEM server?

  • December 26, 2023
  • 2 replies
  • 866 views

Hello Community,

I'm looking to change the log files path for AEM logs. Currently, the default location is under crx-quickstart/logs/ However, I'd like to relocate all log files to a new location: /var/log/aem/

 

Any suggestions on how to achieve this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

@adivj95 

 

Please try the "Log File" config in the following

 

2 replies

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
December 26, 2023

@adivj95 

 

Please try the "Log File" config in the following

 

Aanchal Sikka
Level 2
December 27, 2023

Does symlink cater your requirement? From /var/log folder create a symlink as 

`ln -s ../../crx-quickstart/logs aem`

So when you do tail -f /var/log/aem, it opens file from symlink.