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 #8848 is a reply to message #8847] Thu, 07 December 2006 16:09 Go to previous messageGo to previous message
Igor Sukhih is currently offline  Igor Sukhih
Messages: 21
Registered: May 2006
Junior Member
Kristian H?gh wrote:
> 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.
>
Please describe NEW logger policy, how I will decide that log level
should be used for messages
to be still quiet for you?

--
Igor.
 
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: Thu Oct 17 16:01:32 GMT 2024

Total time taken to generate the page: 0.08382 seconds