Uploaded image for project: 'jboss.org'
  1. jboss.org
  2. ORG-2010

Tune logging for urlrewrite component

XMLWordPrintable

      change level to ERROR or change logging facility to be AS instead of container output.

      See docs http://tuckey.org/urlrewrite/manual/4.0/

      Logging ATM is very verbose:

      [root@borg01 standalone]# tail server.log
      06:49:21,085 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: setupResponseHeaders
      06:49:21,085 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: status text: OK
      06:49:21,085 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: status line: HTTP/1.1 200 OK
      06:49:21,085 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: setting response parameter:Date, value: Fri, 11 Apr 2014 10:49:21 GMT
      06:49:21,085 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: setting response parameter:Pragma, value: No-cache
      06:49:21,086 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: setting response parameter:Cache-Control, value: no-cache
      06:49:21,086 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: setting response parameter:Expires, value: Wed, 31 Dec 1969 19:00:00 EST
      06:49:21,086 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: setting response parameter:Content-Type, value: application/atom+xml
      06:49:21,086 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: setting response parameter:Connection, value: close
      06:49:21,089 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ajp-borg01.app.mwc.hst.phx2.redhat.com/10.5.106.18:8009-126) org.tuckey.web.filters.urlrewrite.RequestProxy INFO: set up response, result code was 200
      

              lkrzyzan@redhat.com Libor Krzyzanek
              lkrzyzan@redhat.com Libor Krzyzanek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: