Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3209

Disable REST client requests logging in non-debug mode

    XMLWordPrintable

Details

    Description

      FTM REST service display this kind of log for each request:

      INFO: 2009-02-09	09:05:06	0:0:0:0:0:0:0:1%0	-	0:0:0:0:0:0:0:1%0	8080	GET	/xwiki/rest/wikis/	-	200	206	-	550	http://localhost:8080	Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6	http://localhost:8080/xwiki/bin/view/Main/Test2
      Feb 9, 2009 9:05:09 AM org.xwiki.rest.XWikiInitializationAndCleanupFilter beforeHandle
      INFO: XWiki context initialized.
      Feb 9, 2009 9:05:09 AM org.xwiki.rest.XWikiAuthentication checkSecret
      INFO: Authenticated as 'Guest'.
      Feb 9, 2009 9:05:09 AM org.xwiki.rest.XWikiResource init
      INFO: Registering 'text/xml' representer for resource org.xwiki.rest.resources.spaces.SpacesResource
      Feb 9, 2009 9:05:09 AM org.xwiki.rest.XWikiResource init
      INFO: Instantiated and initialized resource org.xwiki.rest.resources.spaces.SpacesResource@5ba7a449
      Feb 9, 2009 9:05:09 AM org.xwiki.rest.Utils cleanupResource
      INFO: Releasing org.xwiki.rest.resources.spaces.SpacesResource@5ba7a449
      Feb 9, 2009 9:05:09 AM org.xwiki.rest.XWikiInitializationAndCleanupFilter afterHandle
      INFO: XWiki context cleaned up.
      Feb 9, 2009 9:05:09 AM com.noelios.restlet.LogFilter afterHandle
      INFO: 2009-02-09	09:05:09	0:0:0:0:0:0:0:1%0	-	0:0:0:0:0:0:0:1%0	8080	GET	/xwiki/rest/wikis/xwiki/spaces	undefined=null	200	1862	-	57	http://localhost:8080	Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6	http://localhost:8080/xwiki/bin/view/Main/Test2
      
      

      Attachments

        Issue Links

          Activity

            People

              fmancinelli Fabio Mancinelli
              jvdrean Jean-Vincent Drean
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: