OpenVZ Forum


Home » Mailing lists » Devel » [PATCH, try3, 0/3] Separate logfile and console loglevel
Re: [PATCH, try3, 0/3] Separate logfile and console loglevel [message #8847 is a reply to message #8838] Thu, 07 December 2006 15:46 Go to previous messageGo to previous message
kfh.openvzmail is currently offline  kfh.openvzmail
Messages: 20
Registered: October 2006
Junior Member
On Thursday 07 December 2006 14:23, Kir Kolyshkin wrote:
> Dmitry Mishin wrote:
> > On Thursday 07 December 2006 15:47, Igor Sukhih wrote:
> >> Kir Kolyshkin wrote:
> >>> Kristian F. Høgh wrote:
> >>>> If I type "vzctl set 1001 ...", I would asume everything went OK,
> >>>> if I get no output.
> >>>
> >>> Agreed, this is true UNIX way :)
> >>
> >> Lets do not display any info messages by default, go by UNIX way :)
Thats not what the patches do.
If VERBOSE=0 a start will generate 3-5lines of code. (Down from 10)
If VERBOSE=-1 it will be quiet.
If VERBOSE=1 a start will generate the same as today
(Except "Running script...")

> > Probably, global poll helps? ;)
> >
> > I think, the default console level is secondary question indeed.
Incrementing logger(..) and LOG_LEVEL, will not touch default output.
And will give option for VERBOSE=0 or --verbose=0

> > Split of console level and log level is usefull. So, my opinion is to
> > leave default level AS IS, because somebody may use this output
> > somewhere in his scripts (it's bad, but who knows these users? ;) ).
> > Kristian may intro alias in his shell in order to decrease level to `no
> > output` value.
An option. It stille requires some logger(0, ...) -> logger(1, ...),
as I don't want "no output" but more quiet output.

> I'd rather have a config option than an alias.
Me too

/Kristian.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 5/12] L2 network namespace: IPv4 routing
Next Topic: [PATCH try4, 1/3] split verbose from LOG_LEVEL
Goto Forum:
  


Current Time: Tue Aug 13 02:14:51 GMT 2024

Total time taken to generate the page: 0.02818 seconds