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?

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.
aanchal-sikka
aanchal-sikkaAccepted solution
New Participant
December 26, 2023

@adivj95 

 

Please try the "Log File" config in the following

 

Aanchal Sikka

2 replies

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.

Translate
aanchal-sikka
aanchal-sikkaAccepted solution
New Participant
December 26, 2023

@adivj95 

 

Please try the "Log File" config in the following

 

Translate
Aanchal Sikka