1

I'm trying to change the logging level for Apache Samza so I can get debug statements; the default is info. More specifically, I'm trying to get this debug statement to show up.

I'm using Samza in a Clojure project. What is the best way to do this? The Samza Logging page does not given any useful information.

1 Answers1

2

The Samza Logging page provides sufficient information. In more direct terms, the steps are:

  1. in project.clj, include the slf4j-log4j dependency
  2. in project.clj, define a jvm system property called "log4j.configuration" that points to a log4j xml configuration file
  3. in the log4j xml configuration file, define the root log level to be "debug"

Which of those things have been done?

Jonah Benton
  • 3,598
  • 1
  • 16
  • 27