98c9
![]() |
|
|
|
|
|||||||
| Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have a samba share configured to allow logging of file access:
Code:
[home] comment = Home Directory path=/home/%u vfs objects = full_audit full_audit:prefix = %u|%I|%m|%s full_audit:success = open opendir read pwrite unlink rmdir pread write sendfile ftruncate full_audit:failure = connect disconnect open close read pread write prwite sendfile ftruncate lock readlink full_audit:facility = LOCAL7 full_audit:priority = ALERT ... Code:
/var/log/samba/audit.log 640 50 100 * JC Code:
local7.* /var/log/samba/audit.log Code:
syslog = 0 How can these be separated? |
|
#2
|
|||
|
|||
|
Figured this out:
In /etc/syslog.conf, found this line: Code:
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages Code:
*.notice;LOCAL7,authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages Code:
local7.* /var/log/samba/audit.log Code:
LOCAL7.ALERT /var/log/samba/audit.log Don't know whether CAPS is relevant or not. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running wine on separate X server | hedgehog | X.Org | 3 | October 2nd, 2012 21:48 |
| separate drive, UFS2 vs ZFS | grigorovl | Storage | 3 | December 14th, 2011 20:30 |
| Do you still use separate /, /tmp, /var partitions on FreeBSD 9 | overmind | Installing & Upgrading | 2 | November 23rd, 2011 13:03 |
| How to install GRUB to separate slice? | palladin | Installing & Upgrading | 1 | September 23rd, 2010 16:25 |
| Install FreeBSD 7.2 into a separate location | KernelPanic | Installing & Upgrading | 2 | January 5th, 2010 18:38 |