int main(int argc, char** argv) {
::google::InitGoogleLogging(argv[0]);
+ // Print output to stderr (while still logging)
+ FLAGS_alsologtostderr = 1;
#ifndef GFLAGS_GFLAGS_H_
namespace gflags = google;
// Commit db
txn->Commit();
txn.reset(db->NewTransaction());
- LOG(ERROR) << "Processed " << count << " files.";
+ LOG(INFO) << "Processed " << count << " files.";
}
}
// write the last batch
if (count % 1000 != 0) {
txn->Commit();
- LOG(ERROR) << "Processed " << count << " files.";
+ LOG(INFO) << "Processed " << count << " files.";
}
return 0;
}