[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xconsole stops logging

Pete Templin wrote:
> On Mon, 11 Nov 1996, Luis Francisco Gonzalez wrote:
> > I have noticed that xconsolo stops logging any kernel messages when the daily
> > cron scripts get run and the current /var/log/messages file gets renamed to
> > /var/log/messages.0 and a new one gets created. Is this something normal or
> > is there anything I am doing wrong?
> It's probably still logging to the file that has become *.0 .  I'd suggest
> writing a script to "kill -HUP " any processes which access those
> (rotated) log files.  The kill just asks the xconsole to close whatever
> log files it has open and reopen its log file by name, thereby releasing
> its hold on the renamed file.

Alas that won't work.  See bug #3751 and my patch.  Though I no longer
xconsole as it keeps growing unless you kill it.  Right now I have a
C program that resembles tail but reopens the fifo when the other side
it.  This in addition to a simple script and xterm replaces the
functionality of
xconsole nicely.
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  pgp-public-keys@pgp.mit.edu or any other key sites

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: