Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I turn off E_INFO in pocketsphinx?

Tags:

cmusphinx

E_INFO is printing a bunch of logs. I don't know how I can turn that off. I searched E_INFO from all source files in pocket/base sphinx but I was not able to find where it set up the flag.

like image 560
codereviewanskquestions Avatar asked Jul 24 '13 05:07

codereviewanskquestions


1 Answers

Configuration option

-logfn /dev/null

Windows

-logfn nul

turns off logging.

If you are using API you can also use

err_set_logfile(char *filename)
like image 90
Nikolay Shmyrev Avatar answered Oct 14 '22 16:10

Nikolay Shmyrev