See this related thread: http://search-hadoop.com/m/q3RTtEor1vYWbsW&subj=RE+Configuring+Log4J+Spark+1+5+on+EMR+4+1+
On Fri, Jun 24, 2016 at 6:07 AM, Paolo Patierno <ppatie...@live.com> wrote: > Hi, > > developing a Spark Streaming custom receiver I noticed that the Logging > trait isn't accessible anymore in Spark 2.0. > > trait Logging in package internal cannot be accessed in package > org.apache.spark.internal > > For developing a custom receiver what is the preferred way for logging ? > Just using log4j dependency as any other Java/Scala library/application ? > > Thanks, > Paolo > > *Paolo Patierno* > > *Senior Software Engineer (IoT) @ Red Hat**Microsoft MVP on **Windows > Embedded & IoT* > *Microsoft Azure Advisor* > > Twitter : @ppatierno <http://twitter.com/ppatierno> > Linkedin : paolopatierno <http://it.linkedin.com/in/paolopatierno> > Blog : DevExperience <http://paolopatierno.wordpress.com/> >