Skip to content

Commit

Permalink
Document glog configuration levels in sysconfig.template
Browse files Browse the repository at this point in the history
Add documentation of the log levels for INFO to FATAL,
and for increasing the verbosity of log levels
  • Loading branch information
b3n-l committed Jun 3, 2024
1 parent 1b49171 commit 564ae0f
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions pkg/systemd/sysconfig.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,20 @@
# Vlan ID used for untagged traffic on unbridged ports (1-4095):
# FLAGS_port_untagged_vid=1

### glog
### glog logging configuration
#
# log to stderr by default:
GLOG_logtostderr=1

# verbose log level:
# Adjust stderr log level (0 INFO, 1 WARNING, 2 ERROR, 3 FATAL)
# GLOG_minloglevel=1

# Configure verbose logging level (0 = least verbose, 4 = most verbose)
# GLOG_v=0

# verbose per-module log level:
# GLOG_vmodule=
# File-based logging can also be configured. This is disabled by default by
# the GLOG_logtostderr option
# GLOG_log_dir=/tmp
# GLOG_minloglevel=1
# Copy logs at or above this threshold to stderr when file logging enabled
# GLOG_stderrthreshold=2

0 comments on commit 564ae0f

Please sign in to comment.