[PATCH] Updated error message text and reduced its debug level

Marc Muehlfeld mmuehlfeld at samba.org
Thu Oct 12 16:56:30 UTC 2017


Am 12.10.2017 um 15:00 schrieb Andreas Schneider via samba-technical:
> On Wednesday, 11 October 2017 11:52:21 CEST Marc Muehlfeld via samba-technical 
> wrote:
>> Hi,
>>
>> I tried to figure out why my "net rpc share add" command failed. After
>> increasing the log level to 10 I only saw a less helpful error in the
>> log file.
>>
>> The attached patch contains a better error message. Additionally, I
>> reduced the log level for the error from 10 to 1. I think it makes sense
>> in this case. The error is only logged when you run the command, so this
>> won't flood the logs.
>>
>> Please review the attached patch and push. Thanks.
> 
> Please use DBG_WARNING()

Find attached the updated patch.


Regards,
Marc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Updated-error-message-text-and-reduced-its-debug-lev.patch
Type: text/x-patch
Size: 1719 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171012/8e419ef5/0001-Updated-error-message-text-and-reduced-its-debug-lev.bin>


More information about the samba-technical mailing list