Tracing soap calls in Zimbra: Difference between revisions
(Created page with "===<h1>Tracing soap calls in Zimbra</h1>=== <hr> <br> <h2>Problem:</h2> How do we trace soap requests and responses in Zimbra for a single user? <h2>Solution:</h2> All the...") |
|||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
== | {{BC|Certified}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=Enabling TRACE logging for soap calls= | |||
<hr> | <hr> | ||
{{KB|{{ZC}}|{{ZCS 9.0}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}} | |||
====Problem==== | |||
How to trace soap requests and responses in Zimbra for a single user? | |||
====Solution==== | |||
All the soap requests and responses are recorded in the /opt/zimbra/log/mailbox.log file. | All the soap requests and responses are recorded in the /opt/zimbra/log/mailbox.log file. | ||
Line 13: | Line 19: | ||
To increase it for a single user, run : | To increase it for a single user, run : | ||
zmprov aal user@example.com zimbra.soap trace | zmprov aal user@example.com zimbra.soap trace | ||
To remove these, run : | To remove these, run : | ||
zmprov ral user@example.com | zmprov ral user@example.com | ||
Line 25: | Line 29: | ||
{{SubmittedBy| Shashank Tewari}} | |||
{{Article Footer|ZCS 9.0, 8.8, 8.7, 8.6, 8.5, 8.8.x|2020-04-13}} |
Latest revision as of 10:16, 3 November 2021
Enabling TRACE logging for soap calls
Problem
How to trace soap requests and responses in Zimbra for a single user?
Solution
All the soap requests and responses are recorded in the /opt/zimbra/log/mailbox.log file. However by default the logging is at a minimum, so increasing the logging may be helpful as well in this case.
To increase it for a single user, run :
zmprov aal user@example.com zimbra.soap trace
To remove these, run :
zmprov ral user@example.com
This will reset all the logging for that account to the default values.
The zimbra.soap trace logging gives the entire request and response.
Submitted by: Shashank Tewari |