Forums

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

how to enable curl GET logging in confluence

Sergey Subbotin March 12, 2020

Good afternoon, please tell me how to enable logging of curl GET requests, the method described [here|https://confluence.atlassian.com/confkb/how-to-enable-api-access-logging-in-confluence-815254345.html] does not reflect any changes in the logs when using curl GET requests to page.
Changes appeared if log level set to Diagnostic in Logging and Profiling section.

ps: confluence server version 6.12.3

1 answer

1 accepted

0 votes
Answer accepted
DPKJ
Community Champion
March 12, 2020

@Sergey Subbotin  Can you please share sample CURL request you are using?

This documentation is about accessing '/rest', '/soap', '/rpc' calls, and not direct page calls.

Sergey Subbotin March 12, 2020
curl -u user:pass -X GET -H "Content-Type: application/json" http://confluence.mydomain:8093/confluence/rest/api/content/8795644
DPKJ
Community Champion
March 12, 2020

Have you restarted system after making changes to files mentioned in doc?

I will try on my instance if behavior is same and come back.

Like 2 people like this
Sergey Subbotin March 12, 2020

Thank you! Yes, system restarted few times after making changes.

Kevin_Doucet
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!
March 12, 2020

DPK_J, thanks for help. Came in handy for me as well.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence whiteboards, whiteboard templates, template contest, visual collaboration, atlassian learning, confluence community, brainstorming tools, agile planning, team productivity, confluence templates, share your template

Share Your Confluence Whiteboard Template for a Chance to Be Featured in the Product! 🏆

Want to leave your mark on Confluence? One winner will have their whiteboard design added into Confluence for all users to access! This is your chance to showcase your creativity, help others, and gain recognition in the Confluence community.

Share your template today!
AUG Leaders

Atlassian Community Events