private static void logModificationError( IBrowserConnection browserConnection, Writer logWriter,
LdifRecord record, Throwable exception, StudioProgressMonitor monitor )
{
try
{
LdifFormatParameters ldifFormatParameters = Utils.getLdifFormatParameters();
DateFormat df = new SimpleDateFormat( ConnectionCoreConstants.DATEFORMAT );
String errorComment = "#!ERROR " + exception.getMessage(); //$NON-NLS-1$
errorComment = errorComment.replaceAll( "\r", " " ); //$NON-NLS-1$ //$NON-NLS-2$
errorComment = errorComment.replaceAll( "\n", " " ); //$NON-NLS-1$ //$NON-NLS-2$