mimno / Mallet

MALLET is a Java-based package for statistical natural language processing, document classification, clustering, topic modeling, information extraction, and other machine learning applications to text.
https://mimno.github.io/Mallet/
Other
984 stars 344 forks source link

Suppress or redirect to file Mallet LDA building messages #190

Closed beyondeye closed 3 years ago

beyondeye commented 3 years ago

I am running Mallet LDA in a Google Cloud Run instance and I would like to suppress the logging during LDA build because it pollute the logging output of the cloud run instance. Any ideas on how to do it?

beyondeye commented 3 years ago

OK so I solved the issue: just for reference this is what I did: in mallet distribution, I edited file mallet-2.0.8\class\cc\mallet\util\resources\logging.properties and set .level= WARNING instead of .level= INFO