Log
User-defined GLOG Options
Mindpoint lite
supports user-defined configuration of GLOG
related parameters for specific situations. Users can set GLOG_USER_DEFINE
parameter to on
to achieve custom configuration of logs. For specific GLOG options, you can use FLAGS_**
Configure. Please refer to the table below for detailed configuration.
Configuration item |
Definition |
---|---|
FLAGS_log_prefix |
log prefix |
FLAGS_logbufsecs |
write log to files real-time |
FLAGS_v |
log level |
FLAGS_logfile_mode |
set log file mode |
FLAGS_max_log_size |
set log file max size |
FLAGS_logtostderr |
whether to print log to screen |