different Solr Logging for CONSOLE and FILE

2013-06-05 Thread Raheel Hasan
Hi, I have a small question about solr logging. In resourceslog4j.properties, we have *log4j.rootLogger=INFO, file, CONSOLE* However, what I want is: *log4j.rootLogger=INFO, file * and *log4j.rootLogger=WARN, CONSOLE* (both simultaneously). Is it possible? -- Regards, Raheel Hasan

Re: different Solr Logging for CONSOLE and FILE

2013-06-05 Thread Bernd Fehling
Am 05.06.2013 11:28, schrieb Raheel Hasan: Hi, I have a small question about solr logging. In resourceslog4j.properties, we have *log4j.rootLogger=INFO, file, CONSOLE* However, what I want is: *log4j.rootLogger=INFO, file * and *log4j.rootLogger=WARN, CONSOLE* (both

Re: different Solr Logging for CONSOLE and FILE

2013-06-05 Thread Raheel Hasan
OK thanks... it works... :D Also I found that we could put both of them and it will also work: log4j.rootLogger=INFO, file log4j.rootLogger=WARN, CONSOLE On Wed, Jun 5, 2013 at 2:42 PM, Bernd Fehling bernd.fehl...@uni-bielefeld.de wrote: Am 05.06.2013 11:28, schrieb Raheel Hasan: Hi,

Re: different Solr Logging for CONSOLE and FILE

2013-06-05 Thread Shawn Heisey
On 6/5/2013 3:46 AM, Raheel Hasan wrote: OK thanks... it works... :D Also I found that we could put both of them and it will also work: log4j.rootLogger=INFO, file log4j.rootLogger=WARN, CONSOLE If this completely separates INFO from WARN and ERROR, then you would want to rethink and