lib:util: Log mkdir error on correct debug levels
authorAndreas Schneider <asn@samba.org>
Mon, 27 Jan 2020 13:58:10 +0000 (14:58 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 27 Jan 2020 15:55:24 +0000 (15:55 +0000)
commit0ad6a243b259d284064c0c5abcc7d430d55be7e1
treee8f9ad167b099ab6091eaaabc4a7f706a822aeb4
parentf9173c18a6acee12b0a0c20bf12af8d53947f8eb
lib:util: Log mkdir error on correct debug levels

For smbd we want an error and for smbclient we only want it in NOTICE
debug level.
The default log level of smbclient is log level 1 so we need notice to
not spam the user.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14253

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Mon Jan 27 15:55:24 UTC 2020 on sn-devel-184
lib/util/util.c