redirecting JIRA logs to STDOUT

Yuval Zaltz 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

1 vote
Answer accepted
Yuval Zaltz 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 January 22, 2020

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

So this does not apply 

Suggest an answer

Log in or Sign up to answer