History | Edit

How to Locate Log Files in the Windows, Linux, and All Platforms Versions

The log configuration file can be found in: ${web-author-install-dir}/tomcat/webapps/oxygenxml-web-author/WEB-INF/log4j.properties.

The log files can be found at: ${web-author-install-dir}/tomcat/logs/.

Note: ${web-author-install-dir} is the directory where Oxygen XML Web Author Component is installed.

How to Locate the Logs of the WAR Version

By default, the WAR version of Oxygen XML Web Author Component sends its logs to standard output. To configure it to send logs to a file, edit the log configuration file that can be found at WEB-INF/log4j.properties inside the folder where the WAR file was unpacked.

Example: For Tomcat, the WAR file is unpacked in ${tomcat-dir}/webapps/.

In the log configuration file, replace the first line with:
log4j.rootCategory= warn, R2
Also replace the value of the log4j.appender.R2.File property with the path of the file where you want the logs to be saved.

Enabling HTTP Request Logging

To enable a detailed logging of the HTTP requests sent by Oxygen XML Web Author Component, edit the log configuration file and add the following lines:
log4j.category.org.apache.http.impl.conn=debug
log4j.category.org.apache.http.impl.client=debug
log4j.category.org.apache.http.client=debug
log4j.category.org.apache.http.wire=debug
log4j.category.org.apache.http=debug