Re: Specify log4j properties file

2016-03-09 Thread Tristan Nixon
le:path/to/log4j.properties > > It doesn't work without the file: prefix though. Tested in 1.6.0. > > Cheers, > Ashic. > > From: as...@live.com > To: user@spark.apache.org > Subject: Specify log4j properties file > Date: Wed, 9 Mar 2016 17:57:00 + > > Hello, >

Re: Specify log4j properties file

2016-03-09 Thread Matt Narrell
erties > > It doesn't work without the file: prefix though. Tested in 1.6.0. > > Cheers, > Ashic. > > -- > From: as...@live.com > To: user@spark.apache.org > Subject: Specify log4j properties file > Date: Wed, 9 Mar 2016 17:57:00

RE: Specify log4j properties file

2016-03-09 Thread Ashic Mahtab
Found it. You can pass in the jvm parameter log4j.configuration. The following works: -Dlog4j.configuration=file:path/to/log4j.properties It doesn't work without the file: prefix though. Tested in 1.6.0. Cheers,Ashic. From: as...@live.com To: user@spark.apache.org Subject: Specify log4j

Specify log4j properties file

2016-03-09 Thread Ashic Mahtab
Hello,Is it possible to provide a log4j properties file when submitting jobs to a cluster? I know that by default spark looks for a log4j.properties file in the conf directory. I'm looking for a way to specify a different log4j.properties file (external to the application) without pointing to a