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...")
 
No edit summary
Line 9: Line 9:
<h2>Solution:</h2>
<h2>Solution:</h2>


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.<br>
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.


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 26: Line 24:




"Shashank Tewari"


<stewari@zimbra.com>
Submitted by:  Shashank Tewari

Revision as of 07:26, 21 August 2017

Tracing soap calls in Zimbra



Problem:

How do we 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

Jump to: navigation, search