How to set logging of incoming http requests in uberJar

Hi, i need to debud specific issue where in my app callback i cant see request from facebook but recieving from another testing tools.

You can use the Request Logs feature of the Jetty.

Create jetty-env.xml file near to the uber jar on the server:

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-" "">
<Configure id="wac" class="org.eclipse.jetty.webapp.WebAppContext">
<Call name="insertHandler">
      <New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
        <Set name="requestLog">
          <New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
            <Set name="filename"><Property name="jetty.logs" default="./logs"/>/yyyy_mm_dd.request.log</Set>
            <Set name="filenameDateFormat">yyyy_MM_dd</Set>
            <Set name="LogTimeZone">GMT</Set>
            <Set name="retainDays">90</Set>
            <Set name="append">true</Set>
            <Set name="LogLatency">true</Set>

And run the UberJar by specifying additional -jettyEnvPath argument:

java -jar app.jar -jettyEnvPath jetty-env.xml

Then request log will be created in the logs sub-folder of the current directory.