Hi Team ,
Kindly guide me how to transfer full Jira log ( like JIRA service start /stop log , all plugin logs , all operation error log etc .) to local syslog server.
Steps I have performed
Added following line at the end of file.
Please find screen shot.
#SYSLOG#############################
log4j.appender.SYSLOG.threshold=DEBUG, INFO, console, filelog
log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender
log4j.appender.SYSLOG.syslogHost=127.0.0.1
log4j.appender.SYSLOG.layout=org.apache.log4j.EnhancedPatternLayout
log4j.appender.SYSLOG.layout.ConversionPattern=%t %5r %-5p %-21d{yyyyMMdd HH:mm:ss,SSS} %c{2} [%x] %m %throwable{none}
log4j.appender.SYSLOG.Facility=LOCAL0
But I am not sure that all log is going to syslog location.
Please support me on this.I need it ASAP
Thanks
Yamini
Hello
here a solution that works for me
On the log server
i've edit in /etc/rsyslog.conf
$template ServerLog,"/var/log/%fromhost-ip%/messages.log"
*.* ?ServerLog
& ~
On jira node server
i've edit the file /opt/atlassian/jira/atlassian-jira/WEB-INF/classes/log4j.properties
and set
and i get the log on my serverlog
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.