Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0022866 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Openbravo ERP] A. Platform | minor | N/A | 2013-01-23 11:40 | 2022-02-01 08:07 | |||||||
Reporter | alostale | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | urgent | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | AugustoMauch | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0022866: Implement a mechanism to log all HTTP Requests | |||||||||||
Description | Currently ad_session_usage_audit table (optionally) stores information about requests performed in the system including the time taken to process them. This information can be used to debug some issues (such as performance), but as it was not designed for this purpose it lacks of valuable information: it does store only information about requests served by HttpSecureAppServlet it does not contain information about parameter values. It should be possible to log information for all requests (including those ones not implemented as HttpSecureAppServlet) including parameter information. | |||||||||||
Steps To Reproduce | - | |||||||||||
Proposed Solution | * By default this feature is disabled * It can be enabled in 2 ways: ** DB: information about requests is logged in a new table (ad_session_request_log) ** log file: by enabling log (from log4j.lcf or in Session Preferences) for org.openbravo.erpCommon.security.RequestLogFilter * Requests to images (png/gif) are not logged == Limitations == Parameters logged by this feature include both query string (part of the URL from the & symbol) and form data (in POST/PUT requests). It will not include request payload: for example for requests with content type "application/json" json objects sent as paramters will not be logged. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | issue-22866-request-log.export [^] (112,485 bytes) 2013-01-23 11:58 | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2013-01-23 11:40 | alostale | New Issue | |
2013-01-23 11:40 | alostale | Assigned To | => alostale |
2013-01-23 11:40 | alostale | Modules | => Core |
2013-01-23 11:40 | alostale | Triggers an Emergency Pack | => No |
2013-01-23 11:58 | alostale | Review Assigned To | => AugustoMauch |
2013-01-23 11:58 | alostale | Issue Monitored: AugustoMauch | |
2013-01-23 11:58 | alostale | File Added: issue-22866-request-log.export | |
2013-01-23 11:59 | alostale | Note Added: 0055765 | |
2017-04-10 14:37 | alostale | Assigned To | alostale => platform |
2019-10-22 12:54 | AugustoMauch | Issue End Monitor: AugustoMauch | |
2022-02-01 08:07 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |