Openbravo Issue Tracking System - Modules
View Issue Details
0037431ModulesApache External Connection Poolpublic2017-12-01 10:502018-02-07 16:59
ALopetegui 
alostale 
normalminoralways
closedfixed 
5
 
 
caristu
0037431: Missing ms decimals in query log
org.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

put to 0 the parameter "MinDurationStatemets"
do some activity in openbravo
check openbravo.log
No tags attached.
Issue History
2017-12-01 10:50ALopeteguiNew Issue
2017-12-01 10:50ALopeteguiAssigned To => alostale
2017-12-01 15:04hgbotCheckin
2017-12-01 15:04hgbotNote Added: 0100897
2017-12-01 15:04hgbotStatusnew => resolved
2017-12-01 15:04hgbotResolutionopen => fixed
2017-12-01 15:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.util.db/rev/ae532a483a9a1fb3192606fb8f2885a528daf214 [^]
2018-02-02 17:19dmitry_mezentsevNote Added: 0102157
2018-02-06 11:33alostaleReview Assigned To => caristu
2018-02-07 16:59caristuNote Added: 0102261
2018-02-07 16:59caristuStatusresolved => closed

Notes
(0100897)
hgbot   
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   
2018-02-02 17:19   
Ping.
Not closed for 63 days!
(0102261)
caristu   
2018-02-07 16:59   
Code reviewed + tested OK.