The Publish to File application logs the last N jobs to a local file in a XML format.

Publish to File App Bundle
Factory Namecom.searchtechnologies.aspire:app-publish-to-file
Type Flagsjob-input
InputsAspireObject from a connector's subjob with metadata and content extracted from a specific file/folder.
OutputsAspireObject XML representation sent to a job logger file.

Configuration


This section lists all configuration parameters available to configure the Publish to File App Bundle component.

ElementTypeDefaultDescription
numJobsinteger5The number of jobs to retain at the logger
logFileTypebooleantrueIf true the component will expect the logFile parameter, if false it will expect the logFileDir
logFileDirstringlog/${app.name}/publishToFileLogsPath to the folder where the logs will be created
logFilestringlog/${app.name}/publishToFile.jobsThe name of the file to log to
debugbooleanfalseIf true it will log debug information from the component

Example Configuration

With logFile

<application config="com.searchtechnologies.aspire:app-publish-to-sp2013">
	<properties>
    	<numJobs>5</numJobs>
    	<logFileType>true</logFileType>
    	<logFile>log/${app.name}/publishToFile.jobs</logFile>
    	<debug>false</debug>
	</properties>
</application>

With logFileDir

<application config="com.searchtechnologies.aspire:app-publish-to-sp2013">
	<properties>
    	<numJobs>5</numJobs>
    	<logFileType>false</logFileType>
    	<logFileDir>log/${app.name}/publishToFileLogs</logFileDir>
    	<debug>false</debug>
	</properties>
</application>