
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 17/Mar/14 09:51 AM
Updated: 17/Mar/14 11:18 PM
|
|
Component/s: |
None
|
Affects Version/s: |
None
|
Fix Version/s: |
None
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Add username accessing RestAPI to log file, this makes it easier to detect if someone is overloading server with huge number of RestAPI calls.
|
Description
|
Add username accessing RestAPI to log file, this makes it easier to detect if someone is overloading server with huge number of RestAPI calls. |
Show » |
|
<Ref id="Handlers">
<Call name="addHandler">
<Arg>
<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">../logs/yyyy_mm_dd.request.log</Set>
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
<Set name="retainDays">30</Set>
<Set name="append">true</Set>
</New>
</Set>
</New>
</Arg>
</Call>
</Ref>
Then QB will create http request log to display user name for each web request including the RESTful calls. Unfortunately this requires QB server to be restarted to take the modification in effect.