-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LPS-125550 rebase on LPS-128599 #2168
Conversation
….test.log to com.liferay.portal.test.log.log4j, deprecate original ones
…portal.kernel.test to com.liferay.portal.test.log.jdk, deprecate original ones
…og4J Appender to avoid exposing Log4J API
…s to avoid startup issue like https://issues.liferay.com/browse/LPS-100336
…stPermission" "register")" during ant all.
…keep rename action, do it as one commit), this is needed as the proeprty file name is hard coded in log4j2.
…to log4j2 DefaultMergeStrategy to custom our merge rule. Merge new configuration to our centralizedConfiguration.
…Log4jLogFactoryImpl.
…rn can replace log4j1's SimplyLayout.
…es, setAdditive let log event will not be propagated to parents.
… a little different about output format.
…r's level is null or fake, it will use its parent Logger level (default Root logger level is Error); 2),Log4j2 logger's appender is aggregated, log4j1 logger's appender is overrided.
…ired by log4j-core.jar as it is exporting package "org.apache.logging.log4j.core.osgi" which contains a class referencing osgi related classes
To conserve resources, the PR Tester does not automatically run for every pull. If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed. If your pull was never tested, comment "ci:test" to run the PR Tester for this pull. |
ci:test:sf |
❌ ci:test:relevant - 0 out of 1 jobs passed in 11 minutesClick here for more details.Base Branch:Branch Name: master Upstream Comparison:Branch GIT ID: 4ef1e49a5565418b5bf991238ee548fb8a8965e2 ci:test:relevant - 0 out of 1 jobs PASSED1 Failed Jobs:For more details click here.Failures unique to this pull:
For upstream results, click here. |
❌ ci:test:sf - 0 out of 1 jobs passed in 17 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPS-125550-0304 1 Failed Jobs:For more details click here.
|
@@ -223,6 +223,12 @@ Export-Package:\ | |||
org.apache.commons.logging.impl;version="1.2",\ | |||
org.apache.commons.validator.routines;version='1.5.1',\ | |||
org.apache.log4j;version='2.14.0',\ | |||
org.apache.log4j.bridge;version='2.14.0',\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yuhai portal-test is deployed as a module, but my RollingFileAppenderBuilder
is in petra-log4j which is deployed as a lib in core, which is in the same class loader as log4j jars. What packages does the latter one need?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dantewang, except org.apache.log4j.spi, RollingFileAppenderBuilder needs the other packages. I will remove these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dantewang, I just push force the change. Only keep portal-test needed.
a337fdb
to
73922e4
Compare
ci:test:sf |
❌ ci:test:sf - 0 out of 1 jobs passed in 16 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPS-125550-0304 1 Failed Jobs:For more details click here.
|
ci:test:relevant |
Jenkins Build:test-portal-acceptance-pullrequest(master)#7835 |
Jenkins Build:test-portal-source-format#2592 |
❌ ci:test:relevant - 0 out of 1 jobs passed in 11 minutesClick here for more details.Base Branch:Branch Name: master Upstream Comparison:Branch GIT ID: 4ef1e49a5565418b5bf991238ee548fb8a8965e2 ci:test:relevant - 0 out of 1 jobs PASSED1 Failed Jobs:For more details click here.Failures unique to this pull:
For upstream results, click here. |
Jenkins Build:test-portal-source-format#5094 |
Jenkins Build:test-portal-acceptance-pullrequest(master)#7971 |
@tinatian, I add the last two commits for you review clearly. And do the change about the commit 2a4259f (because the pr rebased on shuyangzhou#9823). In addition, after LPS-128599 merged to master. The pr should lack packageinfo change due to the commit 2a4259f (I add new constructor for CaptureAppender and LogEvent).
cc @dantewang