Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66059

Summary: metalog no longer buffers by default. Docs should be updated.
Product: [OLD] Docs-user Reporter: Luke Macken (RETIRED) <lewk>
Component: Gentoo Alternative Installation GuideAssignee: Joshua Kinard <kumba>
Status: RESOLVED FIXED    
Severity: enhancement CC: redhatter
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.longlandclan.hopto.org/~stuartl/gentoo/docs/index.php/handbook/handbook-mips.xml
Whiteboard:
Package list:
Runtime testing required: ---

Description Luke Macken (RETIRED) gentoo-dev 2004-10-01 13:15:19 UTC
Buffering is now off by default in metalog installations, so the following should be removed from the mips installation guide:

Important:  Metalog flushes output to the disk in blocks, so messages aren't immediately recorded into the system logs. If you are trying to debug a daemon, this performance-enhancing behavior is less than helpful. When your Gentoo Linux system is up and running, you can send metalog a USR1 signal to temporarily turn off this message buffering (meaning that tail -f /var/log/everything/current will now work in real time, as expected), and a USR2 signal to turn buffering back on again. If you want to disable buffering permanently, you can change METALOG_OPTS="-B" to METALOG_OPTS="-B -s" in /etc/conf.d/metalog.
Comment 1 Joshua Kinard gentoo-dev 2005-04-23 22:36:16 UTC
Stuart:  This covered in your updated handbook by chance?
Comment 2 Stuart Longland (RETIRED) gentoo-dev 2005-04-24 06:18:44 UTC
I've just had a look, but can't find any reference to buffering in the current (or even the 2004.2) MIPS handbooks.

I certainly do remember seeing it in previous editions of the guide, however, I'd say this disappeared from CVS quite some time ago, prior to the 2004.2 release.

(23:18) stuartl@beast en $ grep -iR "Metalog flushes output to the disk in blocks, so messages aren't immediately recorded into the system logs." *
^^ It certainly isn't in my CVS repository. ;-)
Comment 3 Malte S. Stretz 2005-05-11 09:52:03 UTC
Was just looking for metalog bugs and found this one.  Can't see any references to that paragraph either, guess it can be closed?
Comment 4 Jan Kundrát (RETIRED) gentoo-dev 2005-07-21 11:58:52 UTC
I was unable to find any occurence of this in current English docs except for 
doc/en/virt-mail-howto.xml. 
Comment 5 Joshua Kinard gentoo-dev 2005-07-21 17:21:20 UTC
Most docs apparently updated by now.  Closing.