Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011261Openbravo ERPA. Platformpublic2009-11-05 15:562017-11-06 08:31
villind 
platform 
normalmajoralways
closedduplicate 
5
2.40MP10 
3.0PR17Q4 
Core
No
0011261: In Sqlc generated code include stack trace in error logs
Sqlc generated code does not include stack trace in error level. This makes problem solving unnessessary difficult in production environments.
Include that stack trace when log level is ERROR. See the attached patch.
No tags attached.
duplicate of defect 0036444 closed alostale SqlC generated code hides stack traces in case of error 
diff sqlc-include-stacktrace-in-error.diff (3,725) 2009-11-05 15:56
https://issues.openbravo.com/file_download.php?file_id=1918&type=bug
Issue History
2009-11-05 15:56villindNew Issue
2009-11-05 15:56villindAssigned To => rafaroda
2009-11-05 15:56villindFile Added: sqlc-include-stacktrace-in-error.diff
2009-11-10 10:54shuehnerNote Added: 0021674
2009-11-10 10:54shuehnerIssue Monitored: shuehner
2009-11-10 11:56rafarodaAssigned Torafaroda => iciordia
2009-11-13 07:33iciordiaAssigned Toiciordia => shuehner
2012-02-20 11:31shuehnerAssigned Toshuehner => alostale
2017-04-10 14:37alostaleAssigned Toalostale => platform
2017-11-06 08:31alostaleRelationship addedduplicate of 0036444
2017-11-06 08:31alostaleStatusnew => closed
2017-11-06 08:31alostaleResolutionopen => duplicate
2017-11-06 08:31alostaleFixed in Version => 3.0PR17Q4

Notes
(0021674)
shuehner   
2009-11-10 10:54   
Agreed with proposed solution.
When doing the change the generated printStracktrace calls should also be converted to proper log4j.error(String,Throwable)