[Samba] log.samba missing rotation

miguel medalha medalist at sapo.pt
Thu May 21 17:29:04 UTC 2020

>From man smb.conf:

max log size (G)

    This option (an integer in kilobytes) specifies the max size the log
file should grow to. Samba periodically checks the size and if it is
exceeded it will rename the file, adding a .old extension.

    A size of 0 means no limit.

    Default: max log size = 5000

    Example: max log size = 1000

If you need a more complex rotation, I suppose you will need to configure it
with logrotate.

More information about the samba mailing list