[with PERL] Disable output print


(Jérome) #1

Hi,
I've done my script and for better perf i want disable the print on
the terminal when we index some data.
How can i do that ?

Thanks.


(Eric Jain) #2

On Jun 4, 7:39 am, Jérome pivertjer...@gmail.com wrote:

I've done my script and for better perf i want disable the print on
the terminal when we index some data.
How can i do that ?

Edit config/logging.yml.


(Jérome) #3

Thanks but i've not found the line, what line should i edit ?

On 4 juin, 18:16, Eric Jain eric.j...@gmail.com wrote:

On Jun 4, 7:39 am, Jérome pivertjer...@gmail.com wrote:

I've done my script and for better perf i want disable the print on
the terminal when we index some data.
How can i do that ?

Edit config/logging.yml.


(Eric Jain) #4

On Tue, Jun 5, 2012 at 2:57 AM, Jérome pivertjerome@gmail.com wrote:

Thanks but i've not found the line, what line should i edit ?

To disable console logging, remove "console" from the first line:

rootLogger: INFO, console, file

You could also increase INFO to WARN, and disable the slow query log
by removing all references to "index.search.slowlog".


(Jérome) #5

Thanks it works

On 5 juin, 19:19, Eric Jain eric.j...@gmail.com wrote:

On Tue, Jun 5, 2012 at 2:57 AM, Jérome pivertjer...@gmail.com wrote:

Thanks but i've not found the line, what line should i edit ?

To disable console logging, remove "console" from the first line:

rootLogger: INFO, console, file

You could also increase INFO to WARN, and disable the slow query log
by removing all references to "index.search.slowlog".


(system) #6