Hi Vimol,

    DEBUG, INFO, WARNING, ERROR messages are by default printed and -d
option is only for DEBUG.

Thanks,
Nitish



On Wed, Aug 24, 2016 at 2:19 PM, Vimol Kshetrimayum <[email protected]>
wrote:

> Hi Nitish,
>
> If I understood it correctly, the INFO messages are by default printed.
> Right?
>
> So, -d option is only for debug message.
>
> Regards,
> -Vimol
>
> On Tuesday, August 16, 2016 at 11:56:55 PM UTC-7, KUMAR NITISH wrote:
>>
>> Hi Vimol,
>>
>>   There are separate functions for DEBUG, INFO, WARNING, ERROR
>> (log_debug, log_info, log_warning, log_error). Messages through log_info(),
>> log_error(), log_warning() will get print anyway and these are independent
>> of log_level. Messages through log_debug() will only get printed iff
>> current log_level is greater than level inside log_debug(). So,
>> debug_levels 1 to 8 are only used in case of log_debug. There are no
>> specific meaning of these values (1 to 8). They only specify the
>> priority/importance of messages inside log_debug(). Lower value has higher
>> priority.
>>
>> Thanks,
>> Nitish
>>
>>
>>
>> On Wednesday, August 17, 2016 at 5:26:22 AM UTC+5:30, Vimol Kshetrimayum
>> wrote:
>>>
>>> Hi All,
>>>
>>> I want to enable the logging for iscsid daemon. I see there is -d option
>>> which can take values range from 1 to 8. Where I can find the meaning of
>>> these values? I am asking in terms of DEBUG, INFO, WARNING, ERROR. I could
>>> not find the information in the source code also.
>>>
>>> Regards,
>>> -Vimol
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to