Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0006553 | Openbravo ERP | A. Platform | public | 2008-12-15 15:09 | 2009-05-28 10:40 | |||||||
Reporter | rafaroda | |||||||||||
Assigned To | shuehner | |||||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | pi | |||||||||||
Target Version | Fixed in Version | 2.40MP5 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0006553: Logging of this exception in HttpSecureAppServlet is done very badly | |||||||||||
Description | This issue is a spin-off of issue 6131 (part 4.): Logging of Exception as (at least) the indicated source-code position has to be improved, as with the current code it is very hard to get all needed information. 4.) Logging of this exception is done very badly It is catched in HttpSecureAppServlet.java (line 262) Only the exception name is logged to log4j4j, not stacktrace the Stacktrace is printed on std-out Outcome: Info for this exception is spread over 2 log-files - openbravo.log for seeing "Error captured: NPE" - catalina.out (capturing std-out) for seeing the stacktrace without any timestamp and context information. | |||||||||||
Steps To Reproduce | ||||||||||||
Proposed Solution | change the logging from log4j.error("text..." + e.getMessage()) e.printStackTrace() to log4j.error("text...", e) remove the printStackTrace line verify that the exception (text + stacktrace) is correctly logged into the log4j logfile | |||||||||||
Additional Information | ||||||||||||
Tags | comsup_sprint5 | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2008-12-15 15:09 | rafaroda | New Issue | ||||||||||
2008-12-15 15:09 | rafaroda | Assigned To | => gmauleon | |||||||||
2008-12-15 15:09 | rafaroda | Regression testing | => No | |||||||||
2008-12-15 15:09 | rafaroda | Issue generated from | 0006182 | |||||||||
2008-12-15 15:09 | rafaroda | Relationship added | blocks 0006182 | |||||||||
2008-12-15 15:10 | rafaroda | Status | new => scheduled | |||||||||
2008-12-15 15:10 | rafaroda | fix_in_branch | => 2.40 | |||||||||
2009-01-15 17:06 | svnbot | Checkin | ||||||||||
2009-01-15 17:06 | svnbot | Note Added: 0012230 | ||||||||||
2009-01-15 17:06 | svnbot | Status | scheduled => resolved | |||||||||
2009-01-15 17:06 | svnbot | Resolution | open => fixed | |||||||||
2009-01-15 17:06 | svnbot | svn_revision | => 11949 | |||||||||
2009-01-15 17:26 | gmauleon | Status | resolved => new | |||||||||
2009-01-15 17:26 | gmauleon | Resolution | fixed => open | |||||||||
2009-01-15 17:26 | gmauleon | Note Added: 0012232 | ||||||||||
2009-01-15 17:26 | gmauleon | Status | new => scheduled | |||||||||
2009-01-15 17:26 | gmauleon | fix_in_branch | 2.40 => trunk | |||||||||
2009-01-15 17:28 | gmauleon | Note Deleted: 0012230 | ||||||||||
2009-01-15 17:28 | gmauleon | Note Deleted: 0012232 | ||||||||||
2009-01-15 17:29 | gmauleon | svn_revision | 11949 => | |||||||||
2009-01-15 17:29 | gmauleon | fix_in_branch | trunk => 2.40 | |||||||||
2009-01-27 14:31 | svnbot | Checkin | ||||||||||
2009-01-27 14:31 | svnbot | Note Added: 0012687 | ||||||||||
2009-01-27 14:31 | svnbot | Status | scheduled => resolved | |||||||||
2009-01-27 14:31 | svnbot | Resolution | open => fixed | |||||||||
2009-01-27 14:31 | svnbot | svn_revision | => 12318 | |||||||||
2009-01-28 12:10 | gmauleon | Tag Attached: comsup_sprint5 | ||||||||||
2009-03-03 17:32 | psarobe | Fixed in Version | => 2.40MP3 | |||||||||
2009-03-04 17:29 | psarobe | Status | resolved => closed | |||||||||
2009-04-27 15:38 | shuehner | Status | closed => new | |||||||||
2009-04-27 15:38 | shuehner | Resolution | fixed => open | |||||||||
2009-04-27 15:38 | shuehner | Note Added: 0015795 | ||||||||||
2009-04-27 15:38 | shuehner | Fixed in Version | 2.40MP3 => | |||||||||
2009-04-28 13:43 | shuehner | Assigned To | gmauleon => shuehner | |||||||||
2009-05-20 15:14 | shuehner | Note Added: 0016524 | ||||||||||
2009-05-21 18:33 | hgbot | Checkin | ||||||||||
2009-05-21 18:33 | hgbot | Note Added: 0016564 | ||||||||||
2009-05-21 18:33 | hgbot | Status | new => resolved | |||||||||
2009-05-21 18:33 | hgbot | Resolution | open => fixed | |||||||||
2009-05-21 18:33 | hgbot | Fixed in SCM revision | 12318 => http://code.openbravo.com/erp/stable/2.40/rev/646b9636ad7bb77a82450d94712522033413675f [^] | |||||||||
2009-05-28 10:40 | psarobe | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|