singa
singa copied to clipboard
SINGA-117 add a switch for enabling/disabling INFO-level logging
add switch for enabling/disabling INFO-level logging
can we do it in this way?
in singa.h
namespace singa{
external bool singa_verbose;
}
in main.cc
#include "singa.h"
...
if -verbose in argv
singa_verbose = true
else
singa_verbose = false
@cac2003 I am going to merge this pull request. before that, pls clean the commit msgs following the format http://singa.apache.org/develop/contribute-code.html.
- the commit msg title should be SINGA-xxx aaaaaaaaaa
- squash small commits together using
git rebase -i commit_id
- rebase to the latest master
how to determine the xxx part of commit msg title?
Once you create the jira ticket you will see a ticket No., which is the xxx
Sent from my iPhone
On 28 Dec 2015, at 10:06 AM, CAI QINGCHAO [email protected] wrote:
how to determine the xxx part of commit msg title?
— Reply to this email directly or view it on GitHub.
Could you pls unify the format of all key-value tuples in the log?
E.g., key = value[, key = value]
(or other format that is easy to read).
It would be useful (easy) to parsing the log file to get all key-value tuples.
Thanks.