Re: Log every access to a file

2003-10-29 Thread andi payn
On Wed, 2003-10-29 at 02:00, Matthew Seaman wrote: > On Wed, Oct 29, 2003 at 01:07:26AM -0800, andi payn wrote: > > > The second is to use fam. I should mention that I've only used fam under > > linux, and, after a brief glance, it looks like the FreeBSD port > > (/usr/ports/devel/fam) is not as p

Re: Log every access to a file

2003-10-29 Thread Chris Pressey
On Wed, 29 Oct 2003 10:00:15 + Matthew Seaman <[EMAIL PROTECTED]> wrote: > On Wed, Oct 29, 2003 at 01:07:26AM -0800, andi payn wrote: > > > The second is to use fam. I should mention that I've only used fam under > > linux, and, after a brief glance, it looks like the FreeBSD port > > (/usr/p

Re: Log every access to a file

2003-10-29 Thread Matthew Seaman
On Wed, Oct 29, 2003 at 01:07:26AM -0800, andi payn wrote: > The second is to use fam. I should mention that I've only used fam under > linux, and, after a brief glance, it looks like the FreeBSD port > (/usr/ports/devel/fam) is not as powerful--in particular, FreeBSD > apparently doesn't provide

Re: Log every access to a file

2003-10-29 Thread andi payn
On Mon, 2003-10-27 at 03:35, Matthew Seaman wrote: > On Mon, Oct 27, 2003 at 11:57:31AM +0800, [EMAIL PROTECTED] wrote: > > > How do you create/add a system log to monitor every access to a specific file (say > > a database file accessed through samba)? A sample line for syslog.conf would be >

Re: Log every access to a file

2003-10-27 Thread Michael E Conlen
You patch the open() call in the kernel to log messages to syslog. I've got patches for the kernel to log exec() but not open(). It's fairly trivial once you see it in action. -- Michael Conlen On Oct 27, 2003, at 6:35 AM, Matthew Seaman wrote: On Mon, Oct 27, 2003 at 11:57:31AM +0800, [EMAIL P

Re: Log every access to a file

2003-10-27 Thread Cordula's Web
> How do you create/add a system log to monitor every access to a > specific file (say a database file accessed through samba)? A sample > line for syslog.conf would be greatly appreciated ?? :-) Serve this file from an NFS-mounted partition and have nfsd log all file accesses. Is there a better

Re: Log every access to a file

2003-10-27 Thread Matthew Seaman
On Mon, Oct 27, 2003 at 11:57:31AM +0800, [EMAIL PROTECTED] wrote: > How do you create/add a system log to monitor every access to a specific file (say a > database file accessed through samba)? A sample line for syslog.conf would be > greatly appreciated ?? :-) Syslog.conf doesn't work that wa

Log every access to a file

2003-10-26 Thread chael
Hello, How do you create/add a system log to monitor every access to a specific file (say a database file accessed through samba)? A sample line for syslog.conf would be greatly appreciated ?? :-) Thanks in advance. ___ [EMAIL PROTECTED] mailing list