You need to sign in to do that
Don't have an account?

Dataloader CLI timestamp log file creation during import
Hi Team,
I hope someone has come across the scenario when we make CLI for Dataloader. I have a process_conf.xml file where I want to stamp the Success, Error,
and Log file should stamp with the data time of Job run.
I have attached the process_Conf.xml file. The area which is bold, I want that on each process the Success, Error file should append with Current timestamp.
Thanks
I hope someone has come across the scenario when we make CLI for Dataloader. I have a process_conf.xml file where I want to stamp the Success, Error,
and Log file should stamp with the data time of Job run.
I have attached the process_Conf.xml file. The area which is bold, I want that on each process the Success, Error file should append with Current timestamp.
Thanks
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="accountInsert" class="com.salesforce.dataloader.process.ProcessRunner" singleton="false"> <description>accountInsert job gets the account record from the CSV file and inserts it into Salesforce.</description> <property name="name" value="accountInsert"/> <property name="configOverrideMap"> <map> <entry key="sfdc.debugMessages" value="true"/> <entry key="sfdc.debugMessagesFile" value="C:\Users\dataloader\v48.0.0\DataExport\accountInsertSoapTrace.log"/> <entry key="sfdc.endpoint" value="https://test.salesforce.com"/> <entry key="sfdc.username" value="xyz@xyz.com"/> <entry key="sfdc.password" value="xzxsadsdsdsdsdssdsds"/> <entry key="process.encryptionKeyFile" value="C:\Users\dataloader\v48.0.0\DataExport\dataLoader.key"/> <entry key="sfdc.timeoutSecs" value="600"/> <entry key="sfdc.loadBatchSize" value="200"/> <entry key="sfdc.entity" value="Account"/> <entry key="process.operation" value="insert"/> <entry key="process.mappingFile" value="C:\Users\dataloader\v48.0.0\DataExport\AccountMapping.sdl"/> <entry key="dataAccess.name" value="C:\Users\dataloader\v48.0.0\DataExport\DataloadAcc.csv"/> <entry key="process.outputSuccess" value="C:\Users\dataloader\v48.0.0\DataExport\accountInsert_success%mydate%_%mytime%.csv"/> <entry key="process.outputError" value="C:\Users\dataloader\v48.0.0\DataExport\accountInsert_error%mydate%_%mytime%.csv"/> <entry key="dataAccess.type" value="csvRead"/> <entry key="process.initialLastRunDate" value="2005-12-01T00:00:00.000-0800"/> </map> </property> </bean> </beans>