mirror of https://github.com/CISOfy/lynis.git
Improve logging
This commit is contained in:
parent
039a829457
commit
1d2405cdaa
|
@ -107,7 +107,7 @@
|
|||
;;
|
||||
debug)
|
||||
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && DEBUG=1
|
||||
Debug "Debug mode set to ${DEBUG}"
|
||||
Debug "Debug mode set to '${DEBUG}'"
|
||||
AddSetting "debug" "${DEBUG}" "Debugging mode"
|
||||
;;
|
||||
|
||||
|
@ -139,7 +139,7 @@
|
|||
|
||||
# Language
|
||||
language | lang)
|
||||
LogText "Language set via profile to ${VALUE}"
|
||||
LogText "Language set via profile to '${VALUE}'"
|
||||
if [ ! -z "${VALUE}" ]; then LANGUAGE="${VALUE}"; fi
|
||||
AddSetting "language" "${LANGUAGE}" "Language"
|
||||
;;
|
||||
|
@ -179,7 +179,7 @@
|
|||
|
||||
# Plugin
|
||||
plugin)
|
||||
LogText "Plugin ${VALUE} enabled according profile ${PROFILE}"
|
||||
LogText "Plugin '${VALUE}' enabled according profile (${PROFILE})"
|
||||
;;
|
||||
|
||||
# Plugin directory
|
||||
|
@ -394,7 +394,7 @@
|
|||
#################################################################################
|
||||
#
|
||||
SKIP_TESTS=$(echo ${SKIP_TESTS} | sed "s/^ //")
|
||||
LogText "Skip tests: ${SKIP_TESTS}"
|
||||
if [ ! -z "${SKIP_TESTS}" ]; then LogText "Skip tests: ${SKIP_TESTS}"; fi
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue