protected void logHistory( String msg ) throws ServiceException {
		Report.trace( "bezzotechcosign", "Entering log, passed in binder:", null );
		DataBinder binder = new DataBinder();
		binder.putLocal( "User", m_binder.getLocal( "dUser" ) );
		binder.putLocal( "Operation", m_binder.getLocal( "IdcService" ) );
		if( msg == null ) msg = "";
	 msg = LocaleUtils.encodeMessage( msg, null );
		binder.putLocal( "Error", msg );
		binder.putLocal( "dDocName", m_binder.getLocal( "dDocName" ) );
		binder.putLocal( "dID", m_binder.getLocal( "dID" ) );
		binder.putLocalDate( "date", new java.util.Date() );
		try {
			long seq = IdcCounterUtils.nextValue( m_workspace, "ESIG_SEQ" );
			binder.putLocal( "ID", Long.toString( seq ) );
			m_workspace.execute( "IcosignHistory", binder );
		}
		catch ( DataException e ) {
			throwFullError( e );
		}
	}