Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13404 - Install docs: Metalog usage
Summary: Install docs: Metalog usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-06 22:07 UTC by delta407
Modified: 2003-01-10 21:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description delta407 2003-01-06 22:07:28 UTC
"Important:  Metalog flushes output to the disk in blocks, so messages aren't
immediately recorded into the system logs. [...] you can send metalog a USR1
signal to temporarily turn off this message buffering [...]"

Consider adding "You can turn off the buffering feature entirely by editing
/etc/conf.d/metalog, if you wish." Not many people know about that, but it has
come in quite handy for many, knowing that you can tail -f /var/log/... without
worrying about what state metalog is in.

(Also, I assigned it to zhen, because you fielded my last complaint about the
install docs.)
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2003-01-06 22:25:50 UTC
What would you add to /etc/conf.d/metalog in order to disable buffering?

Cheers,
//zhen
Comment 2 delta407 2003-01-06 22:27:13 UTC
shell # cat /etc/conf.d/metalog

# Config file for /etc/init.d/metalog

# Add '-s' if you dont want buffering.  (See things realtime)
METALOG_OPTS="-B"

--

METALOG_OPTS would be changed to "-B -s".
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2003-01-08 22:58:46 UTC
Excellent, I will add this in.
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2003-01-10 21:45:14 UTC
done
//zhen