flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Ewen <se...@apache.org>
Subject Re: Log4J
Date Thu, 16 Feb 2017 10:54:08 GMT

The bundled log4j version (1.x) does not support that.

But you can replace the logging jars with those of a different framework
(like log4j 2.x), which supports changing the configuration without
stopping the application.
You don't need to rebuild flink, simply replace two jars in the "lib"
folder (and update the config file, because log4j 2.x has a different
config format).

This guide shows how to swap log4j 1.x for logback, and you should be able
to swap in log4j 2.x in the exact same way.


On Thu, Feb 16, 2017 at 5:20 AM, Chet Masterson <chet.masterson@yandex.com>

> Is there a way to reload a log4j.properties file without stopping and
> starting the job server?

View raw message