I was getting bean creation logs and spring boot start up logs in Flink 1.9
with flink1.9_log4j-cli.properties (attached)
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor licen
Hi Abhishek,
this might be caused by the switch from log4j to log4j2 as the default in
Flink 1.11 [1]. Have you had a chance to look at the logging documentation
[2] to enable log4j again?
Best,
Matthias
[1]
https://ci.apache.org/projects/flink/flink-docs-stable/release-notes/flink-1.11.html#swit
Hi Matthias,
Thanks for replying,
I checked both of these pages,
And I downloaded the zip of flink 1.12.1 so the changes related to log4j2
are there in property file,
I am able to see the logs of pipeline once application in up, but the logs
related to application failure or successful bean creati
Hi Abhishek,
have you also tried to apply the instructions listed in [1]?
Best,
Matthias
[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.12/deployment/advanced/logging.html#configuring-log4j1
On Mon, Mar 1, 2021 at 4:42 AM Abhishek Shukla
wrote:
> Hi Matthias,
> Thanks for replyi
@Matthis tried this but did not work, normal logs (application logs) are
coming.
but the startup bean creation or server error log in case of build failure
are not getting printed in file
--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Hi Abhishek,
sorry for the late reply. Did you manage to fix it? One remark: Are you
sure you're referring to the right configuration file? log4j-cli.properties
is used for the CLI tool [1]. Or do you try to get the logs from within the
main of your job?
Best,
Matthias
[1]
https://ci.apache.org/p