ADW-XL Client Logging Service and Configuration
Allegro Design Workbench Library Adapter uses the standard log4j service. Its configuration file log4jADWAdapter.properties is located in the directory:
$ADW_CONF_ROOT/<company>/<site>/ECADLibSync/codebase/WEB-INF.
You can configure it using the standard log4j procedure to change the log name, directory path, and level of outputted messages. For further details, see the log4j documentation. The log level output is set to info by default, but can be changed to another log4j standard output level. For example, debug or warn.
All log messages are written to the file:
$ADW_CONF_ROOT/<company>/<site>/ECADLibSync/logs/ADWAdapter.log
To generate a log in this directory, you must either start the Allegro Design Workbench Library Adapter from $ADW_HOME/adw_conf_root/cadence/us/ECADLibSync/bin or update the property log4.appender.ADWAdapter.File of file log4jADWAdapter.properties with a full path to the log file (including the log file name itself).
|
The full path must not contain back slashes.
|
Following is a list of log4j level definitions that the Logger can be assigned to:
• TRACE
• DEBUG
• INFO
• WARN
• ERROR
• FATAL
|
Do not open the log file while the Allegro Design Workbench application is running. In order to view logs on the client side, you can either make a log file copy and open it or close the Allegro Design Workbench application.
|