Skip to content

Commit

Permalink
switch off verbose output by default (fixes #263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Nelson committed Jan 12, 2016
1 parent 89d500f commit d03b21b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Grappa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,15 +374,15 @@ void Grappa_init( int * argc_p, char ** argv_p[], int64_t global_memory_size_byt
std::cout << "Error setting GLOG_logtostderr default value";
exit(1);
}
if( 0 != setenv("GLOG_v", "1", DONT_OVERWRITE_ENV) ) {
if( 0 != setenv("GLOG_v", "0", DONT_OVERWRITE_ENV) ) {
std::cout << "Error setting GLOG_v default value";
exit(1);
}

// Most of the time glog knows about gflags, and so these are used
// instead:
FLAGS_logtostderr = 1;
FLAGS_v = 1;
FLAGS_v = 0;

// set Google profiler sample rate
setenv("CPUPROFILE_FREQUENCY", "50", DONT_OVERWRITE_ENV);
Expand Down

0 comments on commit d03b21b

Please sign in to comment.