The names/contents of data-fields can be exported, generating a Log file. Options for the Log file are set up in the Log File page of the 'Configuration' dialog (it is these settings that are reflected in the 'Export' dialog - see Exporting files manually).
| 1. | Click the Log file tab of the 'Options|Configuration' dialog (f8). |
| 2. | In the 'Logged Fields' panel, choose which data fields are to be included: |
| o | None of the data-fields, or |
| o | all the data-fields defined in the job: click All defined fields, or |
| o | only some of the data-fields.
Click Select... to display the 'Field Definitions' window. Right click on a field name in the list and choose Select for export. To cancel a selection, right click and choose Unselect for export.
Repeat for all the fields you wish to export.
Click OK to return to the 'Export' window; the Selected fields only option is selected automatically. See also Viewing data fields and tags. |
| 3. | You may click XML field options... to refine the choice of XML data-field options to be logged, see Outputting to XML. |
| 4. | To show the file-names of the data-files which supply the data for the data-fields in the document (as well as the actual field-values) in the console log, tick Filenames. |
| 5. | When Page numbers option is ticked: |
| o | CSV: a page number for each page exported is placed in the log file. |
| o | XML: a page number for each page exported is placed in the log file. This option is selected by default. |
| o | Plain TeXT: the page count (number of pages exported from this document in this export) is added to the end of the log file. |
| 6. | If Bates page numbers have been added to the documents's pages (see Creating page numbers), you may select Bates Page Numbers to add Bates page numbers to the Log file as well. |
| 7. | Select the 'Log File Format': |
| o | XML; you may also opt to: |
| o | Plain text; you may also add a: |
| o | Comma separated. By default, the field names are used to create the first line of a CSV log file. The alternative is to tick the option to: |
| • | Omit field names and suppress the output of the first line. |
| 8. | Set up 'When to output' items for the Log: |
| o | either output log entries for Every page (the default); |
| • | you may output log entries only At end of file too if you wish. |
| o | or When a field specifies it; |
| • | you may output log entries only At end of file too if you wish. |
| 9. | Set further options as required: |
| o | Rename log file when finished. During processing, the log file bears a temporary name (indicating that it is still being created); it is not given its final name until the log file is complete. |
| o | Create a new log file for each output file. The output file is split whenever a specified field (or tag) is encountered or when a field changes. |
| o | Make one new log file entry for each output file; left unchecked, a new log file entry will be made for each page output instead. |
| 10. | Click OK.
Alternatively, you may choose to create a Shortcut icon that uses all the options you have set by clicking Shortcut... (see Shortcuts - the easy way to construct a command line) or click the Save button to retain these settings after you close the program. |
|
The extension name for the log file is .CSV, .XML or .LOG depending on the log format that you have selected. If 'Rename log file when finished' has been checked, the temporary name will be .CS~, .XM~ or .LO~ for the duration of processing only.
The output file and log file names are constructed by using the output specification; if you export several subsets of the file, numbers are appended so that the default output file names are xxxx1, xxxx2 etc. and the log files will have the corresponding names.
If you select 'Create a new log file for each output file', each log file has a name corresponding to its output file. This applies even if only one file is created. For example if the file is called TEST.PCL, the field contains ABCD and the output specification is *=.PDF then the output file name will be TESTABCD.PDF and the Log file will be TESTABCD followed by the appropriate extension.
This does not apply if the input was from TCP/IP, in which case it has a name based on the first output file name.
|
Links
Log file export
Extract data