Log
The log task (log) writes the user provided message to the job log. The following attributes configure the task:
| Attribute |
Type |
Purpose |
| level |
string |
Defines the log attention level for the message. Refer to log levels for detailed description. |
Log Levels
| Value |
Description |
| trace |
Trace level |
| debug |
Debug level |
| info |
Information level (default) |
| warning |
Warning level |
| error |
Error level |
| fatal |
Fatal level |
Example
<job>
<log level="warn">ATTENTION: TEST TABLE IS BEING COPIED</log>
<tablecopy source="QS" target="QS1" truncate="true">
<source>dbo.TEST01</source>
<target>dbo.TEST01_COPY</target>
</tablecopy>
<log>Table copied</log>
</job>
Status codes
| Status |
Status code |
Description |
| Ready |
-1 |
Task is initialized, but not yet started |
| Running |
-2 |
Task is running |
| Success |
0 |
Task completed successfully |