[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flink log and out files

thanks guys,

So, is it a correct statement - if my job doesn't write anything to stdout, the "*.out" file should be empty?

for some reason it contains the same info as "log" and much more.

For the "log" files, I can control rotation via log4j configuration, but how do I setup rotation for "out" files? 
Or, how do I disable them at all?

I'm using 1.4.2

Thank you,

On Wed, Aug 1, 2018 at 7:00 PM Andrey Zagrebin <andrey@xxxxxxxxxxxxxxxxx> wrote:
Hi Alexander,

there is also a doc link where log configuration  is described:
You can modify log configuration in conf directory according to logging framework docs.


On 1 Aug 2018, at 17:30, vino yang <yanghua1127@xxxxxxxxx> wrote:

Hi Alexander:

.log and .out are different. Usually, the .log file stores the log information output by the log framework. Flink uses slf4j as the log interface and supports log4j and logback configurations. The .out file stores the STDOUT information. This information is usually output by you calling some APIs such as the print sink API.

Thanks, vino.

2018-08-01 23:19 GMT+08:00 Alexander Smirnov <alexander.smirnoff@xxxxxxxxx>:

could you please explain the difference between *.log and *.out files in Flink?
What information is supposed to be in each of them?
Is "log" a subset of "out"?
How do I setup rotation with gzipping?

Thank you,