Martin Peřina has posted comments on this change.

Change subject: core: Replace log4j with JUL backend in bll tests
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/34183/1/backend/manager/modules/bll/src/test/resources/logging.properties
File backend/manager/modules/bll/src/test/resources/logging.properties:

Line 5: handlers=java.util.logging.FileHandler,java.util.logging.ConsoleHandler
Line 6: 
Line 7: java.util.logging.FileHandler.append=true
Line 8: 
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
Line 9: java.util.logging.FileHandler.pattern=target/engine.log
> doesn't the junit accepts logging and put it in the appropriate test log fi
I wasn't able to find anything about this feature.

Anyway engine.log is used only for debugging test failures, the tests 
themselves works fine with console handler only, so we can comment out file 
handler and enable only console.
Line 10: 
Line 11: 
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
Line 12: java.util.logging.ConsoleHandler.level=INFO
Line 13: 


-- 
To view, visit http://gerrit.ovirt.org/34183
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I3ebeacfffd6de6766dc43c1d4fdf22d061781797
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to