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 answers

0
Nikolay Shmyrev On BEST ANSWER

Add

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