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

Re: odd -- /var/log/messages and tail in tty3 not working



On Sat Jan 22, 2000 at 02:47:52PM +0900, Taketoshi Sano wrote:
> 
> I add "closelog()" after calling "syslog()" in init.c, then logger 
> works again. Try this:
> 
> --- init.c.orig Fri Jan 21 14:21:06 2000
> +++ init.c      Sat Jan 22 14:45:36 2000
> @@ -148,6 +148,7 @@
>         vsnprintf(msg, sizeof(msg), fmt, arguments);
>         va_end(arguments);
>         syslog(LOG_DAEMON|LOG_NOTICE, msg);
> +       closelog();
>      }

Excellent!  Thank-you!  I have applied this fix to CVS,

 -Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--


Reply to: