Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036475Openbravo ERPY. DBSourceManagerpublic2017-07-12 12:242017-07-14 11:41
alostale 
alostale 
normaltrivialhave not tried
closedfixed 
5
 
3.0PR17Q4 
inigosanchez
Core
No
0036475: update.database logs irrelevant information
update database task logs "Executing database update process without checking changes in local files". This refers to an old feature not currently in use that allowed not to execute anything in case xml database files where not modified since last update.

In addition this log is not using standard logging but direct console output.

Together with it, there are two more lines that are directly written in console output:

     [java] Checking if database structure was modified locally.
     [java] Checking if data has changed in the application dictionary.
Execute ant update.database and check logs:

     ...
     [java] Executing database update process without checking changes in local files.
     ...
     [java] Checking if database structure was modified locally.
     [java] Checking if data has changed in the application dictionary.
     [java] 18979 INFO - Executing default prescript
     ...
Remove 1st case as it does not provide any relevant information
Use standard logger for the other 2 lines
No tags attached.
blocks design defect 0036162 acknowledged Triage Platform Base clean up openbravo.log 
Issue History
2017-07-12 12:24alostaleNew Issue
2017-07-12 12:24alostaleAssigned To => alostale
2017-07-12 12:24alostaleModules => Core
2017-07-12 12:24alostaleTriggers an Emergency Pack => No
2017-07-12 12:25alostaleReview Assigned To => caristu
2017-07-12 12:25alostaleRelationship addedblocks 0036162
2017-07-12 12:29hgbotCheckin
2017-07-12 12:29hgbotNote Added: 0098047
2017-07-12 12:29hgbotStatusnew => resolved
2017-07-12 12:29hgbotResolutionopen => fixed
2017-07-12 12:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/dbsm-main/rev/373ec81adebe90434c4fa24b249a197dc1a85bce [^]
2017-07-12 12:29hgbotCheckin
2017-07-12 12:29hgbotNote Added: 0098049
2017-07-12 12:29hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/dbsm-main/rev/373ec81adebe90434c4fa24b249a197dc1a85bce [^] => http://code.openbravo.com/erp/devel/pi/rev/e109968e82aa10126efa6bf53b1a401f5d72d159 [^]
2017-07-12 12:30alostaleReview Assigned Tocaristu => inigosanchez
2017-07-14 11:41inigosanchezNote Added: 0098080
2017-07-14 11:41inigosanchezStatusresolved => closed
2017-07-14 11:41inigosanchezFixed in Version => 3.0PR17Q4

Notes
(0098047)
hgbot   
2017-07-12 12:29   
Repository: erp/devel/dbsm-main
Changeset: 373ec81adebe90434c4fa24b249a197dc1a85bce
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 12 12:26:51 2017 +0200
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/373ec81adebe90434c4fa24b249a197dc1a85bce [^]

fixed 36475: update.database logs irrelevant information

  Removed irrelevant information + use standard logger in other cases

---
M src/org/openbravo/ddlutils/task/AlterDatabaseDataAll.java
M src/org/openbravo/ddlutils/util/DBSMOBUtil.java
---
(0098049)
hgbot   
2017-07-12 12:29   
Repository: erp/devel/pi
Changeset: e109968e82aa10126efa6bf53b1a401f5d72d159
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 12 12:28:55 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e109968e82aa10126efa6bf53b1a401f5d72d159 [^]

fixed 36473, fixed 36475

  new jar including patches for both issues

---
M src-db/database/lib/dbsourcemanager.jar
---
(0098080)
inigosanchez   
2017-07-14 11:41   
Tested and reviewed > Irrelevant logs have been removed.