Re: Fighting for the power. [syslogd]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Leffler
Date: Tuesday, May 5, 2009 - 9:17 am

Peter Jeremy wrote:
    ...snip...

Regarding syslogd, I've considered adding support to batch/buffer writes 
to workaround a problem that I consider rather important: syslogd is not 
started early enough in the boot so it's not available to log msgs from 
other applications.  In particular I hit this because wpa_supplicant 
logs via syslog but when it's started at boot syslogd isn't available 
and since wpa_supplicant operates in a chroot'd environment it cannot 
defer connecting until syslogd has started up so nothing is ever 
logged.  I think we want syslogd to start very early and deal with the 
case where the local filesystem is not present.  My plan was to buffer 
msgs and then flush them at a later time.  But this might also be used 
to buffer log activity so local disk activity is staged (e.g. for the 
laptop or embedded use).

Maybe someone else has a better idea but I think we need to do something 
soon.

    Sam

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Fighting for the power., Alexander Motin, (Sun May 3, 3:18 pm)
Re: Fighting for the power., Nate Lawson, (Sun May 3, 4:32 pm)
Re: Fighting for the power., Adam McDougall, (Sun May 3, 6:14 pm)
Re: Fighting for the power., Alexander Motin, (Sun May 3, 8:19 pm)
Re: Fighting for the power., Alexander Motin, (Sun May 3, 8:45 pm)
Re: Fighting for the power., Hans Petter Selasky, (Mon May 4, 12:26 am)
Re: Fighting for the power., Alexander Motin, (Mon May 4, 12:50 am)
Re: Fighting for the power., Paul B. Mahol, (Mon May 4, 2:40 am)
Re: Fighting for the power., Alexander Motin, (Mon May 4, 2:51 am)
Re: Fighting for the power., Alexandre "Sunny" Ko ..., (Mon May 4, 5:09 am)
Re: Fighting for the power., Lucius Windschuh, (Mon May 4, 11:19 am)
Re: Fighting for the power., Alexander Motin, (Mon May 4, 3:28 pm)
Re: Fighting for the power., Lucius Windschuh, (Mon May 4, 4:22 pm)
Re: Fighting for the power., Peter Jeremy, (Tue May 5, 2:19 am)
Re: Fighting for the power. [syslogd], Sam Leffler, (Tue May 5, 9:17 am)
Re: Fighting for the power., Eitan Adler, (Tue May 5, 2:30 pm)
Re: Fighting for the power., Wilkinson, Alex, (Tue May 5, 3:29 pm)
Re: Fighting for the power., Jakub Lach, (Wed May 6, 10:04 am)
Re: Fighting for the power., Peter Jeremy, (Wed May 6, 12:07 pm)
Re: Fighting for the power., M. Warner Losh, (Wed May 6, 11:10 pm)
Re: Fighting for the power., Paul B. Mahol, (Fri May 8, 3:34 am)
Re: Fighting for the power., M. Warner Losh, (Fri May 8, 6:06 am)
Re: Fighting for the power., Tim Kientzle, (Sun May 10, 10:49 pm)
Re: Fighting for the power., Alexander Motin, (Mon May 11, 5:22 am)
Re: Fighting for the power. [syslogd], Chuck Swiger, (Mon May 11, 12:38 pm)
Re: Fighting for the power., Paul B. Mahol, (Mon May 11, 1:08 pm)
Re: Fighting for the power. [syslogd], Sam Leffler, (Mon May 11, 1:13 pm)
Re: Fighting for the power. [syslogd], Chuck Swiger, (Mon May 11, 2:37 pm)
Re: Fighting for the power., Alexander Motin, (Mon May 11, 4:13 pm)
Re: Fighting for the power., Gary Dunn, (Mon May 11, 11:40 pm)
Re: Fighting for the power., Ian Smith, (Tue May 12, 3:25 am)
Re: Fighting for the power., Alexander Motin, (Tue May 12, 4:44 am)
Re: Fighting for the power., Nate Lawson, (Wed May 13, 3:04 pm)