Re: Using memory logging in Flink

Posted by Stephan Ewen on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Using-memory-logging-in-Flink-tp3970p3976.html

Hi!

That is exactly the right way to do it. Logging has to be at least INFO and the parameter "taskmanager.debug.memory.startLogThread" set to true.
The log output should be under "org.apache.flink.runtime.taskmanager.TaskManager".

Do you see other outputs for that class in the log?

Make sure you restarted the TaskManager processes after you changed the config file.

Greetings,
Stephan



On Tue, Dec 8, 2015 at 6:56 PM, Filip Łęczycki <[hidden email]> wrote:
Hi,

I am trying to enable logging of memory usage on flink 0.10.0 by adding:
taskmanager.debug.memory.startLogThread: true
to config.yaml and setting log4j level to DEBUG however in the logs after running the job I cannot see any info regarding memory usage.My job lasted 30s so it should catch few intervals. Should I change something else in the configuration?

Best regards/Pozdrawiam,
Filip Łęczycki