[Devel] [PATCH] log: less verbose console

Kristian Høgh kfh.openvzmail at kfh.dk
Thu Oct 12 22:51:20 PDT 2006


On Thursday 12 October 2006 21:43, Kristian Høgh wrote:

Make logfile more verbose by default: LOG_LEEVEL=2

---

> logger(-1, ...) should be followed by "return SOME_ERROR" and vice versa
> Div. changes between logger(0, ...) and logger(1, ...),
> to make console less verbose

The patch from above together with the patch from
"[PATCH] logger: make console output independent from loglevel"
probably makes sense only if LOG_LEVEL is set higher than 0

Regards,
Kristian Høgh


diff --git a/etc/vz.conf b/etc/vz.conf
index 29d13ff..26aed40 100644
--- a/etc/vz.conf
+++ b/etc/vz.conf
@@ -7,7 +7,7 @@ VE0CPUUNITS=1000
 ## Logging parameters
 LOGGING=yes
 LOGFILE=/var/log/vzctl.log
-LOG_LEVEL=0
+LOG_LEVEL=2

 ## Disk quota parameters
 DISK_QUOTA=yes




More information about the Devel mailing list