Forums

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

How to disable debug logging during runtime

Satya Prasad
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2015

https://confluence.atlassian.com/display/STASH/Stash+debug+logging provides a way to enable debug logging during runtime. But I need a way to disable this too. Please advise how this can be done.

1 answer

2 votes
Stefan Saasen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 5, 2015

Hi Satya,

In the same way you enabled DEBUG logging you can set the log level back to INFO, WARN or ERROR.

 

E.g.

 

$> curl -u $USER:$PASSWORD -X PUT http://$HOSTNAME:$PORT/rest/api/latest/logs/logger/$LOGGER/WARN

HTH,

Stefan

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, job interviews, interview tips, career advice, interview preparation, job search, interview experiences, hiring process, atlassian careers, community discussion, interview best practices

Interview Tips & Pet Peeves ✍️

Join the discussion on interview best practices and common pitfalls. Share your experiences and learn from others in the Atlassian Community.

Share you experiences!
AUG Leaders

Atlassian Community Events