Log the import warnings and errors to a timestamped log file in the specified folder.
Each line will be prefixed by the line number and the error type.

Example of log file generated by an import of learners

Line number:2,WARNING,johnny,Smith,John,[email protected],johnny,,1,The login: johnny already exists. The user name will be: johnny1
Line number:4,ERROR,johnny,Smith,John,[email protected],johnny,,2,The “validity” field value 2 is not allowed.

Available columns

Option Description Type Mandatory Default value
location Path to the folder that will contain the log files. The base path is the data folder of the instance. string Yes  
disabled Whether or not this consolidator is disabled. string No No

Example

<consolidators>
	<timeStampedFileErrorLogger>
		<location>imports/logs</location>
	</timeStampedFileErrorLogger>
</consolidators>

Error Messages

Message Explanation
The location parameter is missing. The location parameter is empty.
The [...] directory can not be found nor created. The specified location folder does not exist and an unexpected error occured during its creation. This is probably a folder rights problem.
Could not open the file [...] for writing. An unexpected error occured while trying to open a log file inside the location folder. This is probably a folder rights problem.