How to have each event/packet on separate line in message audit log

My message audit los are single line , how can I split different events/packets by a \n.

At this moment

<jive><packet></packet><packet></packet></jive>

what I need

<jive>
<packet></packet>
<packet></packet>
</jive>

Any help will be appreciated.

Thanks