Expand my Community achievements bar.

SOLVED

Can we modify Log files path on AEM server?

Avatar

Level 3

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@adivj95 

 

Please try the "Log File" config in the following

aanchalsikka_0-1703583984894.png

 


Aanchal Sikka

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@adivj95 

 

Please try the "Log File" config in the following

aanchalsikka_0-1703583984894.png

 


Aanchal Sikka

Avatar

Level 3

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.