Tracing soap calls in Zimbra: Difference between revisions
No edit summary |
|||
(5 intermediate revisions by 4 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==== | |||
All the soap requests and responses are recorded in the /opt/zimbra/log/mailbox.log file. | 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. | However by default the logging is at a minimum, so increasing the logging may be helpful as well in this case. | ||
Line 23: | 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 |