Home » Mailing lists » Devel » [PATCH, try3, 0/3] Separate logfile and console loglevel
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel [message #8816 is a reply to message #8803] |
Thu, 07 December 2006 08:45 |
Igor Sukhih
Messages: 21 Registered: May 2006
|
Junior Member |
|
|
Kristian Høgh wrote:
> Separate logfile and console loglevel
> The separation is implemented as follows
>
> 1: split --verbose from LOG_LEVEL
> verbose and LOG_LEVEL are both 0 as default
> --verbose will not affect LOG_LEVEL and vice versa
>
Is standard command line syntax supported --verbose[=]<id> ?
> 2: Make --verbose accept optional value. Add VERBOSE to vz.conf
> VERBOSE=0 as default
> --verbose[=value]
> Increase or set the logging level.
> No arguments will increase the current value by one.
>
I don't like introducing the VERBOSE parameter. Why do you need so
complex setup
LOG_LEVEL, VERBOSE, --verbose?
If you need to limit console verbosity use --verbose <id> command line
option, by default
console_level = log_level.
> 3: Make verbose=0 more quiet
> Raise default LOG_LEVEL to 2 and VERBOSE to 1
> Raise some logger(0, ...)
> No logger() above 3
>
I don't see the reason to change default LOG_LEVEL, level > 0 usually
used for debug, all
error messages are not controlled by --verbose, LOG_LEVEL and will be
displayed any way.
So if we only introduce --verbose <id> command line option is it not
enough for you?
--
Igor.
|
|
|
|
|
[PATCH, try3, 0/3] Separate logfile and console loglevel
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
By: kfh on Thu, 07 December 2006 10:42
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
By: kfh on Thu, 07 December 2006 11:14
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
By: kfh on Thu, 07 December 2006 12:09
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
By: kir on Thu, 07 December 2006 12:31
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
By: kir on Thu, 07 December 2006 13:23
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
|
|
|
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel
|
Goto Forum:
Current Time: Thu Oct 17 16:05:39 GMT 2024
Total time taken to generate the page: 0.05369 seconds
|