Good morning list, we have to fulfil some special requirements for one of our shares. Is it possible to have a seperate logfile with special configuration for logsize and rotation on one share while all other shares log to the default location? Best regards Daniel
On 20/04/2023 09:08, Daniel Jordan via samba wrote:> Good morning list, > > we have to fulfil some special requirements for one of our shares. > Is it possible to have a seperate logfile with special configuration for > logsize and rotation > on one share while all other shares log to the default location? > > Best regards > Daniel >Whilst you can do some very fine logging (see 'log file' and 'log level' in 'man smb.conf'), I am very sure that what you are asking about isn't possible. Rowland
Hi Daniel, samba can't but auditd can: https://www.baeldung.com/linux/auditd-monitor-file-access Am 20.04.23 um 10:08 schrieb Daniel Jordan via samba:> Good morning list, > > we have to fulfil some special requirements for one of our shares. > Is it possible to have a seperate logfile with special configuration for > logsize and rotation > on one share while all other shares log to the default location? > > Best regards > Daniel >-------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 236 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20230420/6ec396a3/OpenPGP_signature.sig>