Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Storing User access logs of confluence in a different drive with in the same server

Ravinder Reddy Singireddy January 23, 2019

Hi,

We have recently planned to turn on the User access logs for our confluence but due to the disk space issue's we are planning to store the logs in a different drive but we were not able to find a proper methodology to get it done.

Does any one have a step by step process to accomplish this.

 

Also, will enabling these logs lead to any performance degradation of our confluence?

Thank you in anticipation 

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 23, 2019

The most simple approach (Assuming you're looking at all files in <confluence home>/logs )

Mount the disk you want the logs to go on somewhere on your server

  • Ensure it remounts automatically on re-boot
  • Choose a place on the new disk to keep the logs
  • Stop your Confluence
  • Move the existing log directory to the new place
  • Create a symbolic link to the new place called /logs under <confluence home>
  • Start Confluence

Confluence doesn't care whether the log directory is real or symbolic, just that it can still write to it.  There's unlikely to be any performance impact, even if you're on slower disks - most can still write logs faster than confluence can generate them!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events