fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

fifo log problem - FreeBSD

This is a discussion on fifo log problem - FreeBSD ; I have been taking a look at the fifolog(1) system in RELENG_7 and I must be missing something obvious. I created a file using default params e.g fifolog_create /var/log/all.fifo and then in /etc/syslog.conf I have *.* /var/log/all.log *.* | /usr/sbin/fifolog_writer ...


Fix Unix > Unix > FreeBSD > fifo log problem

Reply
 
LinkBack Tools
  #1  
Old 11-03-2008, 02:48 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default fifo log problem

I have been taking a look at the fifolog(1) system in RELENG_7 and I
must be missing something obvious. I created a file using default params
e.g

fifolog_create /var/log/all.fifo
and then in /etc/syslog.conf I have
*.* /var/log/all.log
*.* | /usr/sbin/fifolog_writer /var/log/all.fifo

It seems to work for the most part, but there are entries that are
missing throughout the log

e.g. in the traditional all.log I have
# wc all.log
4833 55212 398099 all.log

yet the fifo log file I have

# fifolog_reader all.fifo | wc
>From 0 Wed Dec 31 19:00:00 1969

To 1225722724 Mon Nov 3 09:32:04 2008
Read from 0
223 2783 23271

There does not seem to be any pattern as to what it discards / keeps

---Mike


--------------------------------------------------------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet since 1994 www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: fifo log problem unix FreeBSD 0 11-10-2008 07:16 AM
Re: fifo log problem unix FreeBSD 0 11-03-2008 04:48 PM
Re: fifo log problem unix FreeBSD 0 11-03-2008 03:47 PM
Re: fifo log problem unix FreeBSD 0 11-03-2008 03:28 PM
FIFO Problem unix Linux 2 09-30-2007 11:01 AM


All times are GMT. The time now is 08:18 AM.