I have a custom source for my Flume (version 1.5.0) agent and I want to debug it. It's actually custom Twitter source, from Cloudera's example here. I have a number of questions:
(1) Is it possible to remote debug the Flume source (written in Java) when I run the Flume agent?
In addition, when I run the agent, I have this option
-Dflume.root.logger=DEBUG,console
but it seems that the logger.debug
s that I have in the Java source are not appearing in the terminal.
(2) How do I make my logs appear? What's missing in my Flume or logging configuration?
(3) If I'm able to make the logs appear, how do I print to the file the console output of my Flume source logger.debug
s only, excluding Flume agent's own logs?
Thanks.