Re: Logging when building and testing Flink

2020-10-30 Thread Juha Mynttinen
Very nice Dawid, thanks! I'll give this a try next time I run the tests. Regards, Juha El vie., 30 oct. 2020 a las 13:13, Dawid Wysakowicz () escribió: > Small correction to my previous email. The previously mentioned problem > is actually not a problem. You can just pass the log4j.configuration

Re: Logging when building and testing Flink

2020-10-30 Thread Dawid Wysakowicz
Small correction to my previous email. The previously mentioned problem is actually not a problem. You can just pass the log4j.configurationFile explicitly: mvn '-Dlog4j.configurationFile=[path]/log4j2-on.properties' clean install Best, Dawid On 23/10/2020 09:48, Juha Mynttinen wrote: > Hey the

Re: Logging when building and testing Flink

2020-10-30 Thread Dawid Wysakowicz
You should be able to globally override the configuration file used by surefire plugin which executes tests like this: mvn '-Dlog4j.configuration=[path]/log4j2-on.properties' clean install Bear in mind there is a minor bug in our surefire configuration now: https://issues.apache.org/jira/browse/F

Logging when building and testing Flink

2020-10-23 Thread Juha Mynttinen
Hey there, I noticed that when building and testing Flink itself, logging seems to be non-existing or very quiet. I had a look at the logging conf files (such as flink-tests/src/test/resources/log4j2-test.properties) and the pattern seems to be that the logging is turned off in tests. At least it