With 1.4 -Add log4j jars to Solr
-Configure de SyslogAppender with something like: log4j.appender.solrLog=org.apache.log4j.net.SyslogAppender log4j.appender.solrLog.Facility=LOCAL0 log4j.appender.solrLog.SyslogHost=127.0.0.1 log4j.appender.solrLog.layout=org.apache.log4j.PatternLayout log4j.appender.solrLog.layout.ConversionPattern=solr: %-4r [%t] %-5p %c - %m%n -Install syslog-ng and let syslog accept udp packets. To do that uncomment in syslog-ng.conf the line udp(); in # all known message sources source s_all { Otis Gospodnetic wrote: > > Not many people do that, judging from > http://www.google.com/search?&q=+solr%20+syslogd . > > But I think this is really not a Solr-specific question. Isn't the > question really "how do I configure log4j to log to syslogd?". Oh, and > then "how do I configure slf4j to use log4j?" > > The answer to the first one is "by using SyslogAppender" (google says so) > The answer to the second one might be on > http://fernandoribeiro.eti.br/2006/05/24/how-to-use-slf4j-with-log4j/ > > Otis > -- > Sematext is hiring -- http://sematext.com/about/jobs.html?mls > Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR > > > > ----- Original Message ---- >> From: Steve Conover <scono...@gmail.com> >> To: solr-user@lucene.apache.org >> Sent: Sat, November 21, 2009 4:09:57 PM >> Subject: Re: solr+jetty logging to syslog? >> >> Does no one send solr logging to syslog? >> >> On Thu, Nov 19, 2009 at 5:54 PM, Steve Conover wrote: >> > The solution involves slf4j to log4j to syslog (at least, for solr), >> > but I'm having some trouble stringing all the parts together. If >> > anyone is doing this, would you mind posting how you use slf4j-log4j >> > jar, what your log4j.properties looks like, what your java system >> > properties settings are, and anything else you think is relevant? >> > >> > Much appreciated >> > >> > -Steve >> > > > > -- View this message in context: http://old.nabble.com/solr%2Bjetty-logging-to-syslog--tp26437295p26531505.html Sent from the Solr - User mailing list archive at Nabble.com.