The Publish to File application logs the last N jobs to a local file in a XML format.
Publish to File App Bundle | |
---|---|
Factory Name | com.searchtechnologies.aspire:app-publish-to-file |
Type Flags | job-input |
Inputs | AspireObject from a connector's subjob with metadata and content extracted from a specific file/folder. |
Outputs | AspireObject XML representation sent to a job logger file. |
This section lists all configuration parameters available to configure the Publish to File App Bundle component.
Element | Type | Default | Description |
---|---|---|---|
numJobs | integer | 5 | The number of jobs to retain at the logger |
logFileType | boolean | true | If true the component will expect the logFile parameter, if false it will expect the logFileDir |
logFileDir | string | log/${app.name}/publishToFileLogs | Path to the folder where the logs will be created |
logFile | string | log/${app.name}/publishToFile.jobs | The name of the file to log to |
debug | boolean | false | If true it will log debug information from the component |
Code Block | ||
---|---|---|
| ||
<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> |
Code Block | ||
---|---|---|
| ||
<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> |