It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to enable curl GET logging in confluence

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

0 votes
DPK J Community Leader Mar 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.

curl -u user:pass -X GET -H "Content-Type: application/json" http://confluence.mydomain:8093/confluence/rest/api/content/8795644
DPK J Community Leader Mar 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 # people like this

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

5,966 views 4 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you