It seems a bit odd that there is no way to specify the pattern for naming AWI↔AE trace files. With the Java User Interface, one specifies the file name pattern in the content of the trace
element in the uc4config.xml file, e.g.,
<trace count="10" xml="3">UCDJ_TRC_##.TXT</trace>
However, with the AWI, one is apparently supposed to enable tracing simply by changing the xml
attribute, but leaving the content of the trace
element empty. E.g.,
<trace count="10" xml="3"></trace>
How does the AWI know what pattern to use for naming trace files?
I usually customize the logback.xml and framework-logging.xml files so that the log file names are a bit different than the default values. E.g., in the file
and fileNamePattern
elements, I change “ECC” to “AWI”. It occurred to me that the trace file name might be hard-coded somewhere in the app, and that the AWI might therefore expect these elements in the XML config files not to be changed. Operating on this assumption, I set the values back to their defaults and restarted Tomcat. Unfortunately, this did not help. The trace file still does not appear.