cp %DLC%\servers\tomcat\conf\logging.properties
%DLC%\servers\tomcat\conf\logging.properties.orig cp %CATALINA_BASE%\webapps\<REST_Web_Application_Name>\WEB-INF\web.xml %DLC%\servers\tomcat\conf\web.xml.orig |
############################################################
# RequestDumperFilter Configuration. # Dumps the HTTP request and response ############################################################ # To see the HTTP request and response dump, uncomment the below lines # NOTE: To enable dumping of HTTP request & response, you will also need to # uncomment the OERequestDumperFilter section in the web.xml of the web application # that you want to debug. #5request-dumper.org.apache.juli.FileHandler.level = FINEST #5request-dumper.org.apache.juli.FileHandler.directory = ${openedge.weblogs} #5request-dumper.org.apache.juli.FileHandler.prefix = request-dumper. #5request-dumper.org.apache.juli.FileHandler.formatter = org.apache.juli.VerbatimFormatter ## The level must be set at least to INFO. If you want to dump the body also, set it to FINEST #org.apache.catalina.filters.RequestDumperFilter.level = INFO #org.apache.catalina.filters.RequestDumperFilter.handlers = 5request-dumper.org.apache.juli.FileHandler |
############################################################
# RequestDumperFilter Configuration. # Dumps the HTTP request and response ############################################################ # To see the HTTP request and response dump, uncomment the below lines # NOTE: To enable dumping of HTTP request & response, you will also need to # uncomment the OERequestDumperFilter section in the web.xml of the web application # that you want to debug. 5request-dumper.org.apache.juli.FileHandler.level = FINEST 5request-dumper.org.apache.juli.FileHandler.directory = ${openedge.weblogs} 5request-dumper.org.apache.juli.FileHandler.prefix = request-dumper.5request-dumper.org.apache.juli.FileHandler.formatter = org.apache.juli.VerbatimFormatter ## The level must be set at least to INFO. If you want to dump the body also, set it to FINEST org.apache.catalina.filters.RequestDumperFilter.level = INFO org.apache.catalina.filters.RequestDumperFilter.handlers = 5request-dumper.org.apache.juli.FileHandler |
# To this configuration below, 1request-dumper.org.apache.juli.FileHandler
# also needs to be added to the handlers property near the top of the file 1request-dumper.org.apache.juli.FileHandler.level = INFO 1request-dumper.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 1request-dumper.org.apache.juli.FileHandler.prefix = request-dumper. 1request-dumper.org.apache.juli.FileHandler.formatter = org.apache.juli.VerbatimFormatter # Change the level from INFO to FINEST if you want to dump the HTTP body as well org.apache.catalina.filters.RequestDumperFilter.level = INFO org.apache.catalina.filters.RequestDumperFilter.handlers = \ 1request-dumper.org.apache.juli.FileHandler |
org.apache.catalina.filters.RequestDumperFilter.level = FINEST
|
<!-- USER EDIT: uncomment OERequestDumperFilter section to enable
debugging of HTTP Request/Response --> <!-- NOTE You must also uncomment RequestDumperFilter Configuration section in $CATALINA_HOME/conf/logging.properties file to redirect the debug messages to ${openedge.weblogs}/request-dumper.<date>.log file. ${openedge.weblogs} is set to OpenEdge WRKDIR by default --> <!-- <filter> <display-name>OERequestDumperFilter</display-name> <filter-name>OERequestDumperFilter</filter-name> <filter-class>com.progress.rest.adapters.oe.OERequestDumperFilter </filter-class> </filter> <filter-mapping> <filter-name>OERequestDumperFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> --> |
<!-- USER EDIT: uncomment OERequestDumperFilter section to enable
debugging of HTTP Request/Response --> <!-- NOTE You must also uncomment RequestDumperFilter Configuration section in $CATALINA_HOME/conf/logging.properties file to redirect the debug messages to ${openedge.weblogs}/request-dumper.<date>.log file. ${openedge.weblogs} is set to OpenEdge WRKDIR by default --> <filter> <display-name>OERequestDumperFilter</display-name> <filter-name>OERequestDumperFilter</filter-name> <filter-class>com.progress.rest.adapters.oe.OERequestDumperFilter </filter-class> </filter> <filter-mapping> <filter-name>OERequestDumperFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> |