Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • file - Path and name of a log file to be filtered for log entries. This should be either an absolute path or a path relative to the rootDir defined in the general section.
  • errorLinePattern - Each line in the specified file that matches this pattern will be extracted as a FEWS error log message.
  • warningLinePattern - Each line in the specified file that matches this pattern will be extracted as a FEWS warning log message.
  • infoLinePattern - Each line in the specified file that matches this pattern will be extracted as a FEWS info log message.
  • debugLinePattern - Each line in the specified file that matches this pattern will be extracted as a FEWS debug log message.
  • restartWorkflowLinePattern - The first line in the specified file that matches this pattern will restart the complete root workflow (Since 2018.01)

Configuration example:

Code Block
xml
xml
<logFile>
	<file>XBerror.txt</file>
	<!-- Import every line as a separate FEWS error log message. -->
	<errorLinePattern>*</errorLinePattern>
</logFile>
<logFile>
	<file>XBwarning.txt</file>
	<!-- Import every line that contains "warning" as a separate FEWS info log message. -->
	<infoLinePattern>*warning*</infoLinePattern>
</logFile>
<logFile>
	<file>XBlog.txt</file>
	<!-- Import every line that contains "ERROR" as a separate FEWS debug log message. -->
	<debugLinePattern>*ERROR*</debugLinePattern>
</logFile>

...