Enabling Log Rotation service on a single domain
The following request packet enables Log Rotation service on domain example.com:
<packet version="1.5.0.0">
<log-rotation>
<enable>
<filter>
<domain-name>example.com</domain-name>
</filter>
</enable>
</log-rotation>
</packet>
Enabling Log Rotation service on multiple domain
The following request packet enables Log Rotation service on domains used by the clients with ID 5 and ID 8:
<packet version="1.5.0.0">
<log-rotation>
<enable>
<filter>
<client-id>5</client-id>
<client-id>8</client-id>
</filter>
</enable>
</log-rotation>
</packet>
The following request packet enables Log Rotation service on domain example.com and the domain with ID 6:
<packet version="1.5.0.0">
<log-rotation>
<enable>
<filter>
<domain-id>6</domain-id>
</filter>
</enable>
<enable>
<filter>
<domain-name>example.com</domain-name>
</filter>
</enable>
</log-rotation>
</packet>
The following request packet enables Log Rotation service on all domains available for packet sender:
<packet version="1.5.0.0">
<log-rotation>
<enable>
<filter/>
</enable>
</log-rotation>
</packet>