log level = 10 imply "debug pid = yes", "debug uid = yes" and "debug class = yes"

Stefan (metze) Metzmacher metze at samba.org
Wed Nov 16 02:00:45 MST 2011


Hi Volker,

>> diff --git a/lib/util/debug.c b/lib/util/debug.c
>> index cc57ba8..2812136 100644
>> --- a/lib/util/debug.c
>> +++ b/lib/util/debug.c
>> @@ -948,10 +948,10 @@ bool dbghdrclass(int level, int cls, const char *location, const char *func)
>>  
>>  		header_str[0] = '\0';
>>  
>> -		if( state.settings.debug_pid)
>> +		if (level >= 10 && state.settings.debug_pid)
> 
> Shouldn't that be || instead of && ?

Yes, thanks for catching that..., I'll need to test it before I push it:-)

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20111116/c84be203/attachment.pgp>


More information about the samba-technical mailing list