Advanced Customization > Info*Engine User’s Guide > Info*Engine Custom Tag Reference > Info*Engine Tags > Supplied Library Tags (Logging) > setLogger
  
setLogger
Sets the log4j logger to be used. If this tag is not used, then the default logger name for a task is based on its location within the task root using its parent directory name prefixed with com.infoengine.tasks. For example, if your task is “/org/myCompany/MyTask.xml” then the default logger name is “com.infoengine.tasks.org.myCompany.”
In general, the setLogger tag is seldom used since the default logger names should be sufficiently granular for adequate logging control. This tag is useful if you would your task to reuse another existing logger in use by your application, thereby allowing you to control logging for your application under a custom logger hierarchy.
Syntax
<log:setLogger logger="LOGGER_NAME"/>
Attribute Descriptions
Required attribute: logger
logger
The logger name to use. This attribute is required and is also an expression.
Example
<log:setLogger logger="org.myorg.MyApplicationLogger"/>