To change the default logging for IAI
When the Infor Application Installer is installed on the application
server, the following basic log4j property files are placed in %install_dir%/config
, for example:
C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\<computer>Node01Cell\Publish.ear\config
Log4j_file.properties
: logging is
sent to user specified files
Log4j_chainsaw.properties
: logging
is sent to the ChainSaw log viewer.
Log4j_systemout.properties
: logging
is sent to the console/systemout
The default is the systemout.
To change ChainSaw or file mode, copy the relevant *.properties
file to log4j.properties
. The change will then
be detected and the new setup will be used.
These three basic property files utilize the fact that Loggers in log4j are hierarchical and thus inherit the properties of their ancestor unless this is specifically disabled. Thus in the property files, we set up properties for the loggers:
In the property files, inheriting from the ancestor to these
four loggers has been turned of using the log4j.additivity."logger"=false
setting.
For more information about Log4j, check http://logging.apache.org/log4j/docs/index.htmlhttp://logging.apache.org/log4j/docs/index.html and http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/log4j/log4j.htmlhttp://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/log4j/log4j.html
-
com.intentia.iec
: ancestor of the loggers for the application layer -
com.intentia.iec.jsp
: ancestor of the loggers for the presentation layer -
org.apache.tools.ant
: ancestor for the loggers in ant (used during publish) -
xdoclet
: ancestor for the loggers in xdoclet (used during publish)