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:502018-02-07 16:59
ReporterALopeteguiView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix 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 Tocaristu
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
---
(0102157)
dmitry_mezentsev (developer)
2018-02-02 17:19

Ping.
Not closed for 63 days!
(0102261)
caristu (manager)
2018-02-07 16:59

Code reviewed + tested OK.

- 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 [^]
2018-02-02 17:19 dmitry_mezentsev Note Added: 0102157
2018-02-06 11:33 alostale Review Assigned To => caristu
2018-02-07 16:59 caristu Note Added: 0102261
2018-02-07 16:59 caristu Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker