Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how do i move the location of the logs on Jira

hi

Currently logs for jira are located /opt/jira/atlassian-jira-software-7.4.2-standalone/logs

i want to move to a drive that has much more space.

 

current storage on the server is 

 

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rhel_inettemplrhel7-root 18G 6.4G 12G 37% /
devtmpfs 7.9G 0 7.9G 0% /dev
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 7.9G 809M 7.1G 11% /run
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/sda1 497M 165M 333M 34% /boot
/dev/mapper/vg_data-jira 177G 92G 85G 53% /home/jira

 

i want to move all the logs to /dev/mapper/vg_data-jira

 

thanks 

 

2 answers

0 votes

Two options (both need you to stop Jira while you amend them)

Restart Jira and  it will log to the new place.

ok found the file do i need to change all jirahomeAppender

log4j.appender.filelog=com.atlassian.jira.logging.JiraHomeAppender
log4j.appender.filelog.File=atlassian-jira.log
log4j.appender.filelog.MaxFileSize=20480KB
log4j.appender.filelog.MaxBackupIndex=5
log4j.appender.filelog.layout=com.atlassian.logging.log4j.NewLineIndentingFilteringPatternLayout
log4j.appender.filelog.layout.ConversionPattern=%d %t %p %X{jira.username} %X{jira.request.id} %X{jira.request.assession.id} %X{jira.request.ipaddr} %X{jira.request.url} [%q{2}] %m%n
# re-enable when JDEV-33891 is resolved or improved
log4j.appender.filelog.layout.StackTracePackagingExamined=false
log4j.appender.filelog.layout.MinimumLines=6
log4j.appender.filelog.layout.ShowEludedSummary=false
log4j.appender.filelog.layout.FilteringApplied=true
log4j.appender.filelog.layout.FilteredFrames=@jira-filtered-frames.properties


log4j.appender.httpaccesslog=com.atlassian.jira.logging.JiraHomeAppender
log4j.appender.httpaccesslog.File=atlassian-jira-http-access.log
log4j.appender.httpaccesslog.MaxFileSize=20480KB
log4j.appender.httpaccesslog.MaxBackupIndex=5
log4j.appender.httpaccesslog.layout=com.atlassian.logging.log4j.NewLineIndentingFilteringPatternLayout
log4j.appender.httpaccesslog.layout.ConversionPattern=%m%n

 

 

or just

log4j.appender.filelog=com.atlassian.jira.logging.JiraHomeAppender
log4j.appender.filelog.File=atlassian-jira.log

 

to 

log4j.appender.filelog=org.apache.log4j.RollingFileAppender

log4j.appender.filelog.File=/home/jira/logs/atlassian-jira.log

 

also will this work for the catalina.out

@Nic Brough _Adaptavist_ any chance you can help with the above ?

That's attachments, not logs.  But the right answer for attachments.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you