aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-03-25 16:08:45 -0400
committerBill Nottingham <notting@redhat.com>2011-03-25 16:08:45 -0400
commit0d4c67a520b64f029d094e9a3d10ec179683c033 (patch)
tree62536f432e79e47d5808267acc69dff77c950dc0 /sysconfig
parent579c34c464ff22339c76bfbf51ce122a8961c0fc (diff)
downloadinitscripts-0d4c67a520b64f029d094e9a3d10ec179683c033.tar
initscripts-0d4c67a520b64f029d094e9a3d10ec179683c033.tar.gz
initscripts-0d4c67a520b64f029d094e9a3d10ec179683c033.tar.bz2
initscripts-0d4c67a520b64f029d094e9a3d10ec179683c033.tar.xz
initscripts-0d4c67a520b64f029d094e9a3d10ec179683c033.zip
Switch the default logging value to error.
It's what's used the most.
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 14d13fee..8d92d081 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -429,7 +429,7 @@ change_resolv_conf ()
#
# Usage: net_log <message> <err|warning|info> <optional file/function name>
#
-# Default level is 'info'.
+# Default level is 'err'.
net_log() {
local message="$1"
@@ -437,7 +437,7 @@ net_log() {
local name="$3"
[ -z "$message" ] && return 1
- [ -z "$level" ] && level=info
+ [ -z "$level" ] && level=err
[ -z "$name" ] && name=$0
case $level in