Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 # people like this
Sergey Subbotin March 12, 2020

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

Kevin_Doucet 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
AUG Leaders

Atlassian Community Events