Shay, This is much more log4j question than a Spark question.
Anyway, Copying the templates would enable root logger at INFO level. Are you interested in suppressing logs? "However this did not suppress any logging. " If you want to suppress logging, trying setting to OFF try log4j.rootCategory=OFF Similarly make jetty logger off too. Khanderao On Thu, Jan 9, 2014 at 10:49 AM, Shay Seng <[email protected]> wrote: > Hey, > > In " > https://spark.incubator.apache.org/docs/0.8.1/configuration.html#configuring-logging > " > It states: > *"Spark uses log4j <http://logging.apache.org/log4j/> for logging. You can > configure it by adding a log4j.properties file in the conf directory. One > way to start is to copy the existing log4j.properties.template located > there."* > > I did as specified and added a log4j.properties file in the spark conf > directory. However this did not suppress any logging. > However if I launch spark from a directory that contains a > log4j.properties file, it does get read in. > > Does the docs need re-writing, or is this a bug? > > tks, > Shay > > >
