The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

redirecting JIRA logs to STDOUT

Yuval Zaltz
Contributor
January 19, 2020

We plan to run JIRA over kubernetes - typically containers in kubernetes write to STDOUT from there the data is captured and sent to log solution like elastic search.
especially as container may crush and data can be lost.

JIRA and JVM container save STDOUT and STDERR to log files  

So is it passable to redirect logs to STDOUT?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Yuval Zaltz
Contributor
January 22, 2020

Found a workaround solution using kubernetes "sidecar" - see here https://kubernetes.io/docs/concepts/cluster-administration/logging/#using-a-sidecar-container-with-the-logging-agent

 

basically it's a daemon container on the same pod that prints out a specific log file tail

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2020

Hello @Yuval Zaltz ,

We have the following Knowledge base article detailing the steps on how to change the default logging locations, check it out and let me know how it goes:

Regards,
Earl

Yuval Zaltz
Contributor
January 22, 2020

Thanks - My instance is on Kubernetes and using Atlassian Docker (Ubuntu based i believe).

So this does not apply