[Bucardo-general] Conflict Log patch

Adam Wendt thelsdj at gmail.com
Thu Mar 5 17:58:29 UTC 2009


Attached is a patch to support writing a log of conflicts regardless of
conflict resolution setting for a sync.

If you use any of the default conflict resolution settings you don't get a
detailed log of the conflict, but if you write a custom conflict resolution
method to log the conflict you then have to duplicate the behavior of
latest, etc.

This code will log the details of the conflict (full row on both sides) and
then still use whatever default conflict resolution method you have set for
the sync.

In bucardo_config table there are 2 new options, set conflict_log to 1 to
enable the feature and set conflictfile to the path where you want to log
the conflicts.

Thanks,

Adam
Adam Wendt Consulting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20090305/2a9341ee/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conflict_log.patch
Type: application/octet-stream
Size: 2711 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20090305/2a9341ee/attachment.obj 


More information about the Bucardo-general mailing list