Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5365

AtmosphereBehavior should also log X-Forwarded-For

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 6.8.0
    • None
    • wicket-atmosphere
    • None
    • nginx

    Description

      Servlet/Wicket apps are usually deployed behind a reverse proxy such as nginx. AtmosphereBehavior logs should also include X-Forwarded-For header (when it exists), in addition to remote_host, e.g. :

      logger	  	org.apache.wicket.atmosphere.AtmosphereBehavior
      message	  	Suspending the streaming response from ip 127.0.0.1:41992
      
      logger	  	org.apache.wicket.atmosphere.AtmosphereBehavior
      message	  	streaming connection dropped from ip 127.0.0.1:41850
      
      logger	  	org.apache.wicket.atmosphere.AtmosphereBehavior
      message	  	Resuming the websocket response from ip 127.0.0.1:41360
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ceefour Hendy Irawan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: