#include "common/logging.h"
#include <boost/foreach.hpp>
#include <boost/thread/locks.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <cerrno>
#include <ctime>
#include <fstream>
#include <glob.h>
#include <gutil/strings/substitute.h>
#include <iostream>
#include <map>
#include <sstream>
#include <stdio.h>
#include <sys/stat.h>
#include "util/error-util.h"
#include "util/redactor.h"
#include "util/test-info.h"
#include "common/names.h"
Go to the source code of this file.
|
| DEFINE_string (log_filename,"","Prefix of log filename - ""full path is <log_dir>/<log_filename>.[INFO|WARN|ERROR|FATAL]") |
|
| DEFINE_bool (redirect_stdout_stderr, true,"If true, redirects stdout/stderr to INFO/ERROR log.") |
|
| DECLARE_string (redaction_rules_file) |
|
DECLARE_string |
( |
redaction_rules_file |
| ) |
|
DEFINE_bool |
( |
redirect_stdout_stderr |
, |
|
|
true |
, |
|
|
"If |
true, |
|
|
redirects stdout/stderr to INFO/ERROR log." |
|
|
) |
| |
DEFINE_string |
( |
log_filename |
, |
|
|
"" |
, |
|
|
"Prefix of log filename - ""full path is <log_dir>/<log_filename>." |
[INFO|WARN|ERROR|FATAL] |
|
) |
| |
bool logging_initialized = false |