Other Support Options
|
Page Tools
|
Feedback |
| Revised | : | January 5, 2006 (mc) |
| Version | : | All Gateway versions |
| Revision | : | 1 |
SUMMARY
Following the instructions below will enable logging in the ILLiad Gateway.
Caution: Gateway Logging should only be enabled to aid in the diagnosis of a problem - the log files tend to get large quickly.
ENABLING LOGGING
To enable logging in the ILLiad Gateway, create a file called c:\illiad\gateway\log4d.props on the web server that contains the following:
#---- begin log4d.props ----
log4d.debug=TRUE
log4d.categoryFactory=TLogDefaultCategoryFactory
# root priority - valid values are 'DEBUG', 'INFO', 'WARN', 'ERROR', 'FATAL'
log4d.rootCategory=DEBUG,ROOT
# root appender
log4d.appender.ROOT=TLogFileAppender
log4d.appender.ROOT.append=TRUE
log4d.appender.ROOT.fileName=c:\illiad\gateway\gateway.log
log4d.appender.ROOT.errorHandler=TLogOnlyOnceErrorHandler
log4d.appender.ROOT.layout=TLogPatternLayout
log4d.appender.ROOT.layout.dateFormat=yyyy-mm-dd hh:MM:ss,zzz
log4d.appender.ROOT.layout.pattern=%d [%p] %c %t - %m%n
#---- end log4d.props ----
The ILLiad Gateway will now log to a file called c:\illiad\gateway\gateway.log
Note: That file may not allow you to open it while the gateway is still running. You may need to stop and restart the ILLiad Gateway service to open the file.
DISABLING LOGGING
To disable logging in the ILLiad Gateway, rename the c:\illiad\gateway\log4d.props file to something else (i.e. disable-log4d.props). If the gateway can not find that file, it will not log any actions.
More Related Topics
|