Indeed, there were some changes recently but i also can't get logging to work 
on older versions such as 6.0. 

Thanks,
Markus

 
 
-----Original message-----
> From:Pushkar Raste <pushkar.ra...@gmail.com>
> Sent: Tuesday 10th January 2017 14:53
> To: solr-user@lucene.apache.org
> Subject: Re: Debug logging in Maven project
> 
> Seems like you have enabled only console appender. I remember there was a
> changed made to disable console appender if Solr is started in background
> mode.
> 
> On Jan 10, 2017 5:55 AM, "Markus Jelsma" <markus.jel...@openindex.io> wrote:
> 
> > Hello,
> >
> > I used to enable debug logging in my Maven project's unit tests by just
> > setting log4j's global level to DEBUG, very handy, especially in debugging
> > some Solr Cloud start up issues. Since a while, not sure to long, i don't
> > seem to be able to get any logging at all. This project depends on 6.3.
> > Anyone here that can tell me how to get something so simple but so helpful
> > back to work?
> >
> > Many thanks,
> > Markus
> >
> > $ cat src/test/resources/log4j.properties
> > log4j.rootLogger=debug,info,stdout
> > log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> > log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
> > log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
> >
> >
> 

Reply via email to