[Index]
logout
Provide an output to a logger. With a default
Oddjob configuration log messages will be visible in the Log panel
of Oddjob Explorer.
Property Summary
level |
The log log4j log level. |
logger |
The Log4j logger name to log the output to. |
Example Summary
Example 1 |
Copy the contents of a file to the logger. |
Property Detail
level
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. Defaults to INFO. |
The log log4j log level.
logger
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. Defaults to org.oddjob.logging.log4j.LogoutType |
The Log4j logger name to log the output to.
Examples
Example 1
Copy the contents of a file to the logger.
<oddjob id="this">
<job>
<copy>
<input>
<file file="${this.args[0]}/test/io/TestFile.txt"/>
</input>
<output>
<logout/>
</output>
</copy>
</job>
</oddjob>
(c) Rob Gordon 2005 - 2017