I have samba installed and working, but i need to change the location of samba logs
from default /var/log/samba4/ to /var/log/, so i did change log file to my own path:
Files in /var/log/samba4/:
Removing /var/log/samba4/ folder makes samba complains in logs there is no file and cannot create new one...
How to change all log file location to /var/log/?
from default /var/log/samba4/ to /var/log/, so i did change log file to my own path:
After restart (testparm did not complain) samba created expected files in /var/log/:log file = /var/log/smb.%m
but also created a lot of files in /var/log/samba4/ which should not to be used according to log file directive.smb.
smb.nmbd
smb.smbd
smb.winbindd
Files in /var/log/samba4/:
After changing log file directive (and restart) i think there should be no usage of /var/log/samba4/.log.nmbd
log.rpcd_classic
log.rpcd_epmapper
log.rpcd_fsrvp
log.rpcd_lsad
log.rpcd_mdssvc
log.rpcd_rpcecho
log.rpcd_spoolss
log.rpcd_winreg
log.samba-dcerpcd
log.smbd
log.winbindd
Removing /var/log/samba4/ folder makes samba complains in logs there is no file and cannot create new one...
How to change all log file location to /var/log/?