flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Soheil Pourbafrani <soheil.i...@gmail.com>
Subject Writing Flink logs into specific file
Date Thu, 18 Jul 2019 18:03:09 GMT

When we run the Flink application some logs will be generated about the
running, in both local and distributed environment. I was wondering if is
it possible to save logs into a specified file?

I put the following file in the resource directory of the project but it
has no effect:

    <appender name="file" class="ch.qos.logback.core.FileAppender">
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{60}
%X{sourceThread} - %msg%n</pattern>

    <root level="INFO">
        <appender-ref ref="file"/>

View raw message