kdump.sysconfig: add the kdump logger configurations
The kdump logger has the default values of the log levels, but sometimes, need to change the value of log level in order to get more debugging messages for troubleshooting. Here, user will have a chance to reconfigure it. Signed-off-by: Lianbo Jiang <lijiang@redhat.com> Acked-by: Kairui Song <kasong@redhat.com>
This commit is contained in:
parent
3b743ae6ae
commit
d001bd177f
@ -35,3 +35,19 @@ KEXEC_ARGS=""
|
||||
|
||||
#What is the image type used for kdump
|
||||
KDUMP_IMG="vmlinuz"
|
||||
|
||||
# Logging is controlled by following global variables:
|
||||
# - @var kdump_stdloglvl - logging level to standard error (console output)
|
||||
# - @var kdump_sysloglvl - logging level to syslog (by logger command)
|
||||
# - @var kdump_kmsgloglvl - logging level to /dev/kmsg (only for boot-time)
|
||||
# If any of the variables is not set, this function set it to default:
|
||||
# - @var kdump_stdloglvl=4 (info)
|
||||
# - @var kdump_sysloglvl=4 (info)
|
||||
# - @var kdump_kmsgloglvl=0 (no logging)
|
||||
#
|
||||
# Logging levels: fatal(1),error(2),warn(3),info(4),debug(5),trace(6)
|
||||
#
|
||||
# For example: the following configurations indicate that kdump messages will be printed
|
||||
# to console and journald for debugging case.
|
||||
# kdump_sysloglvl=5
|
||||
# kdump_stdloglvl=5
|
||||
|
@ -35,3 +35,19 @@ KEXEC_ARGS=""
|
||||
|
||||
#What is the image type used for kdump
|
||||
KDUMP_IMG="vmlinuz"
|
||||
|
||||
# Logging is controlled by following global variables:
|
||||
# - @var kdump_stdloglvl - logging level to standard error (console output)
|
||||
# - @var kdump_sysloglvl - logging level to syslog (by logger command)
|
||||
# - @var kdump_kmsgloglvl - logging level to /dev/kmsg (only for boot-time)
|
||||
# If any of the variables is not set, this function set it to default:
|
||||
# - @var kdump_stdloglvl=4 (info)
|
||||
# - @var kdump_sysloglvl=4 (info)
|
||||
# - @var kdump_kmsgloglvl=0 (no logging)
|
||||
#
|
||||
# Logging levels: fatal(1),error(2),warn(3),info(4),debug(5),trace(6)
|
||||
#
|
||||
# For example: the following configurations indicate that kdump messages will be printed
|
||||
# to console and journald for debugging case.
|
||||
# kdump_sysloglvl=5
|
||||
# kdump_stdloglvl=5
|
||||
|
@ -38,3 +38,19 @@ KDUMP_IMG="vmlinuz"
|
||||
|
||||
#What is the images extension. Relocatable kernels don't have one
|
||||
KDUMP_IMG_EXT=""
|
||||
|
||||
# Logging is controlled by following global variables:
|
||||
# - @var kdump_stdloglvl - logging level to standard error (console output)
|
||||
# - @var kdump_sysloglvl - logging level to syslog (by logger command)
|
||||
# - @var kdump_kmsgloglvl - logging level to /dev/kmsg (only for boot-time)
|
||||
# If any of the variables is not set, this function set it to default:
|
||||
# - @var kdump_stdloglvl=4 (info)
|
||||
# - @var kdump_sysloglvl=4 (info)
|
||||
# - @var kdump_kmsgloglvl=0 (no logging)
|
||||
#
|
||||
# Logging levels: fatal(1),error(2),warn(3),info(4),debug(5),trace(6)
|
||||
#
|
||||
# For example: the following configurations indicate that kdump messages will be printed
|
||||
# to console and journald for debugging case.
|
||||
# kdump_sysloglvl=5
|
||||
# kdump_stdloglvl=5
|
||||
|
@ -40,3 +40,19 @@ KDUMP_IMG="vmlinuz"
|
||||
KDUMP_IMG_EXT=""
|
||||
|
||||
#Specify the action after failure
|
||||
|
||||
# Logging is controlled by following global variables:
|
||||
# - @var kdump_stdloglvl - logging level to standard error (console output)
|
||||
# - @var kdump_sysloglvl - logging level to syslog (by logger command)
|
||||
# - @var kdump_kmsgloglvl - logging level to /dev/kmsg (only for boot-time)
|
||||
# If any of the variables is not set, this function set it to default:
|
||||
# - @var kdump_stdloglvl=4 (info)
|
||||
# - @var kdump_sysloglvl=4 (info)
|
||||
# - @var kdump_kmsgloglvl=0 (no logging)
|
||||
#
|
||||
# Logging levels: fatal(1),error(2),warn(3),info(4),debug(5),trace(6)
|
||||
#
|
||||
# For example: the following configurations indicate that kdump messages will be printed
|
||||
# to console and journald for debugging case.
|
||||
# kdump_sysloglvl=5
|
||||
# kdump_stdloglvl=5
|
||||
|
@ -40,3 +40,19 @@ KDUMP_IMG="vmlinuz"
|
||||
KDUMP_IMG_EXT=""
|
||||
|
||||
#Specify the action after failure
|
||||
|
||||
# Logging is controlled by following global variables:
|
||||
# - @var kdump_stdloglvl - logging level to standard error (console output)
|
||||
# - @var kdump_sysloglvl - logging level to syslog (by logger command)
|
||||
# - @var kdump_kmsgloglvl - logging level to /dev/kmsg (only for boot-time)
|
||||
# If any of the variables is not set, this function set it to default:
|
||||
# - @var kdump_stdloglvl=4 (info)
|
||||
# - @var kdump_sysloglvl=4 (info)
|
||||
# - @var kdump_kmsgloglvl=0 (no logging)
|
||||
#
|
||||
# Logging levels: fatal(1),error(2),warn(3),info(4),debug(5),trace(6)
|
||||
#
|
||||
# For example: the following configurations indicate that kdump messages will be printed
|
||||
# to console and journald for debugging case.
|
||||
# kdump_sysloglvl=5
|
||||
# kdump_stdloglvl=5
|
||||
|
@ -41,3 +41,19 @@ KDUMP_IMG="vmlinuz"
|
||||
|
||||
#What is the images extension. Relocatable kernels don't have one
|
||||
KDUMP_IMG_EXT=""
|
||||
|
||||
# Logging is controlled by following global variables:
|
||||
# - @var kdump_stdloglvl - logging level to standard error (console output)
|
||||
# - @var kdump_sysloglvl - logging level to syslog (by logger command)
|
||||
# - @var kdump_kmsgloglvl - logging level to /dev/kmsg (only for boot-time)
|
||||
# If any of the variables is not set, this function set it to default:
|
||||
# - @var kdump_stdloglvl=4 (info)
|
||||
# - @var kdump_sysloglvl=4 (info)
|
||||
# - @var kdump_kmsgloglvl=0 (no logging)
|
||||
#
|
||||
# Logging levels: fatal(1),error(2),warn(3),info(4),debug(5),trace(6)
|
||||
#
|
||||
# For example: the following configurations indicate that kdump messages will be printed
|
||||
# to console and journald for debugging case.
|
||||
# kdump_sysloglvl=5
|
||||
# kdump_stdloglvl=5
|
||||
|
@ -38,3 +38,19 @@ KDUMP_IMG="vmlinuz"
|
||||
|
||||
#What is the images extension. Relocatable kernels don't have one
|
||||
KDUMP_IMG_EXT=""
|
||||
|
||||
# Logging is controlled by following global variables:
|
||||
# - @var kdump_stdloglvl - logging level to standard error (console output)
|
||||
# - @var kdump_sysloglvl - logging level to syslog (by logger command)
|
||||
# - @var kdump_kmsgloglvl - logging level to /dev/kmsg (only for boot-time)
|
||||
# If any of the variables is not set, this function set it to default:
|
||||
# - @var kdump_stdloglvl=4 (info)
|
||||
# - @var kdump_sysloglvl=4 (info)
|
||||
# - @var kdump_kmsgloglvl=0 (no logging)
|
||||
#
|
||||
# Logging levels: fatal(1),error(2),warn(3),info(4),debug(5),trace(6)
|
||||
#
|
||||
# For example: the following configurations indicate that kdump messages will be printed
|
||||
# to console and journald for debugging case.
|
||||
# kdump_sysloglvl=5
|
||||
# kdump_stdloglvl=5
|
||||
|
Loading…
Reference in New Issue
Block a user