Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022866
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. PlatformminorN/A2013-01-23 11:402022-02-01 08:07
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022866: Implement a mechanism to log all HTTP Requests

DescriptionCurrently 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.
TagsNo tags attached.
Attached Files? file icon issue-22866-request-log.export [^] (112,485 bytes) 2013-01-23 11:58

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0055765)
alostale (manager)
2013-01-23 11:59

Attached proposed solution patch

- 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
Powered by Mantis Bugtracker