Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026102Openbravo ERPA. Platformpublic2014-03-27 12:062014-03-27 12:12
shuehner 
shuehner 
lowtrivialhave not tried
closedfixed 
5
 
3.0PR14Q23.0PR14Q2 
alostale
Core
No
0026102: Excessive number of 'Invalidating menu cache' message on level info.
At least in ci test int-initial-pgsql a very high number of 'Invalidating menu cache' messages is printed into the log file.

Under normal circumstances those to not add value.
https://ci.openbravo.com/job/int-initial-pgsql/lastSuccessfulBuild/artifact/SANDBOX/tomcat-logs/int-initial-pgsql.log [^]
Reduce those messages to debug
No tags attached.
Issue History
2014-03-27 12:06shuehnerNew Issue
2014-03-27 12:06shuehnerAssigned To => shuehner
2014-03-27 12:06shuehnerModules => Core
2014-03-27 12:06shuehnerTriggers an Emergency Pack => No
2014-03-27 12:07shuehnerReview Assigned To => alostale
2014-03-27 12:07shuehnerNote Added: 0065508
2014-03-27 12:11hgbotCheckin
2014-03-27 12:11hgbotNote Added: 0065509
2014-03-27 12:11hgbotStatusnew => resolved
2014-03-27 12:11hgbotResolutionopen => fixed
2014-03-27 12:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b20ad2172fce9da5be24af27e0fbac98125fa071 [^]
2014-03-27 12:12alostaleNote Added: 0065510
2014-03-27 12:12alostaleStatusresolved => closed
2014-03-27 12:12alostaleFixed in Version => PR14Q2

Notes
(0065508)
shuehner   
2014-03-27 12:07   
While working on this:
120415 [http-8080-3] DEBUG org.openbravo.client.application.GlobalMenu - Getting a copy of globally cached menu took 1395918284227 ms

time elapsed calculation of this debug message is also wrong and should be fixed up.
(0065509)
hgbot   
2014-03-27 12:11   
Repository: erp/devel/pi
Changeset: b20ad2172fce9da5be24af27e0fbac98125fa071
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Thu Mar 27 12:10:34 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b20ad2172fce9da5be24af27e0fbac98125fa071 [^]

Fixed 26102: Reduce excessive log-messages from GlobalMenu.java
- Reduce from info to debug:
  - Invalidating menu cache
  - Generating menu took:
- Fix elapsed time calculation from debug message:
  - Getting a copy of globally cached menu took...

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/GlobalMenu.java
---
(0065510)
alostale   
2014-03-27 12:12   
code reviewed