[Samba] Setting loglevel for specified clients?

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Dec 3 03:42:11 MST 2009


On Thu, Dec 03, 2009 at 11:12:49AM +0100, Alexander Födisch wrote:
> is there a possibility to set the loglevel for just a few specified clients?
> With more than 500 clients and "smbd: 10" our log
> partition (~ 15G) will be filled in a few hours.

You might try to play with

include = /etc/samba/smb.conf.%I

and put "debug level = 10" into /etc/samba.smb.conf.192.168.1.1

(certainly replace the obvious IP address)

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20091203/e9790eaa/attachment.pgp>


More information about the samba mailing list