How do I turn off info logs in pocketsphinx-python

1.1k Views Asked by At

For example, running the example.py script of the cmusphinx/pocketsphinx-python package outputs a whole bunch of info to the terminal. How do I switch it off?

1

There are 1 best solutions below

0
On BEST ANSWER

Add

 config.set_string('-logfn', '/dev/null')