Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039764Openbravo ERPA. Platformpublic2018-12-05 12:462018-12-14 09:33
jarmendariz 
jarmendariz 
normalminoralways
closedfixed 
5
 
3.0PR19Q1 
alostale
Core
Pre packaging ( pi )
2018-11-19
pi
http://code.openbravo.com/erp/devel/pi/rev/4d00819f3952ff85dae35810a6a47c2f2bbfaed8 [^]
No
0039764: Log format changes during build after running ant run.all.tests
Ant test tasks (run.all.tests, run.quick.tests, run.test, run.webservice.tests) copies all .xml files found in src-test/src to build/classes. Since 0039504, log4j2-test.xml is copied and some build tasks shows the test console format instead of the build one.
Having an installed environment (ant install.source), run the following commands:
- ant run.quick.tests
- ant compile

Then you'll see that starting from the postwad: task the format changes. From:

[java] 11690 [main] INFO org.openbravo.wad.Wad - Processing Window: Work Requirement - Tab: Operation - id: 800112

Which shows the time since the JVM started in milliseconds to:

[java] 13:57:38.466 INFO org.openbravo.data.Sqlc - strFileProperties: /home/openbravo/Projects/issues/pi/config/Openbravo.properties

Showing the time in HH:mm:ss.SSS format, which is used by tests.
No tags attached.
caused by feature request 0039504 closed jarmendariz Upgrade Log4j to version 2 
Issue History
2018-12-05 12:46jarmendarizNew Issue
2018-12-05 12:46jarmendarizAssigned To => platform
2018-12-05 12:46jarmendarizModules => Core
2018-12-05 12:46jarmendarizTriggers an Emergency Pack => No
2018-12-05 13:01jarmendarizAssigned Toplatform => jarmendariz
2018-12-05 13:02jarmendarizStatusnew => scheduled
2018-12-05 13:02jarmendarizRelationship addedrelated to 0039504
2018-12-05 14:00jarmendarizSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18002#r18002
2018-12-11 17:26hgbotCheckin
2018-12-11 17:26hgbotNote Added: 0108408
2018-12-11 17:26hgbotStatusscheduled => resolved
2018-12-11 17:26hgbotResolutionopen => fixed
2018-12-11 17:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/759dcd28bd8dfaa1b2ad5b6c3ebd51937639383d [^]
2018-12-11 17:27jarmendarizReview Assigned To => alostale
2018-12-12 13:59hudsonbotCheckin
2018-12-12 13:59hudsonbotNote Added: 0108548
2018-12-14 09:32alostaleNote Added: 0108600
2018-12-14 09:32alostaleStatusresolved => closed
2018-12-14 09:32alostaleFixed in Version => 3.0PR19Q1
2018-12-14 09:32alostaleRelationship replacedcaused by 0039504
2018-12-14 09:33alostaleRegression level => Pre packaging ( pi )
2018-12-14 09:33alostaleRegression date => 2018-11-19
2018-12-14 09:33alostaleRegression introduced in release => pi
2018-12-14 09:33alostaleRegression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/4d00819f3952ff85dae35810a6a47c2f2bbfaed8 [^]

Notes
(0108408)
hgbot   
2018-12-11 17:26   
Repository: erp/devel/pi
Changeset: 759dcd28bd8dfaa1b2ad5b6c3ebd51937639383d
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Wed Dec 05 14:01:00 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/759dcd28bd8dfaa1b2ad5b6c3ebd51937639383d [^]

Fixed issue 39764: Log format changes during build after running run.all.tests.

In build tasks, all .xml files found in src-test/src are copied to build/classes.
Now the only xml file available in this location is log4j2-test, so there is no
need to perform this task before running tests.

---
M src-test/build.xml
---
(0108548)
hudsonbot   
2018-12-12 13:59   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f1a781af6612 [^]
Maturity status: Test
(0108600)
alostale   
2018-12-14 09:32   
reviewed