sashafrey / topicmod

This project had been moved to https://github.com/bigartm/bigartm
Other
0 stars 0 forks source link

Design API to control logging (glog) in BigARTM #57

Closed sashafrey closed 10 years ago

sashafrey commented 10 years ago

Currently there is no way to initialize logging of BigARTM from clients code. The same applies for changing logging level (verbose / info / error) and logging destination. We need an API in c_interface.h to control this.

As part of this change we should improve the 'void EnableLogging()' method in c_interface.cc, and do not invoke this method from ArtmCreateMasterComponent and ArtmCreateNodeController.

sashafrey commented 10 years ago

Won't fix, since it is easy to control logging from command line or environmental variables. Read section 'Setting flags' in http://google-glog.googlecode.com/svn/trunk/doc/glog.html