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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037431
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Modules] Apache External Connection Poolminoralways2017-12-01 10:502017-12-01 15:04
ReporterALopeteguiView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version
StatusresolvedFix in branchFixed in SCM revisionae532a483a9a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0037431: Missing ms decimals in query log

Descriptionorg.openbravo.util.db module prints all queries that takes more than specific number of milliseconds.
Currently it prints a log in openbravo.log with the duration of the query in millineconds like that:
  t: 2

I need to print also two or three decimals of the milliseconds, something like that:
  t: 2.456 ms

Steps To Reproduceput to 0 the parameter "MinDurationStatemets"
do some activity in openbravo
check openbravo.log
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0100897)
hgbot (developer)
2017-12-01 15:04

Repository: erp/mods/org.openbravo.util.db
Changeset: ae532a483a9a1fb3192606fb8f2885a528daf214
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Dec 01 15:04:12 2017 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.util.db/rev/ae532a483a9a1fb3192606fb8f2885a528daf214 [^]

fixes issue 37431: increased time measurement precision

  Before it logged up to millisiconds, now microseconds (as decimals of millis
  are logged).

---
M src/org/openbravo/util/db/StatementInvocationHandler.java
M src/org/openbravo/util/db/jmx/DBPoolLoggerConfigurator.java
---

- Issue History
Date Modified Username Field Change
2017-12-01 10:50 ALopetegui New Issue
2017-12-01 10:50 ALopetegui Assigned To => alostale
2017-12-01 15:04 hgbot Checkin
2017-12-01 15:04 hgbot Note Added: 0100897
2017-12-01 15:04 hgbot Status new => resolved
2017-12-01 15:04 hgbot Resolution open => fixed
2017-12-01 15:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.util.db/rev/ae532a483a9a1fb3192606fb8f2885a528daf214 [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker