Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 18354 Details for
Bug 29600
Metalog a good recommendation ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch 2/2: (fax) add metalogd buffering information
faq.diff-add_metalog_buffering (text/plain), 1.53 KB, created by
Sven Vermeulen (RETIRED)
on 2003-09-26 02:25:09 UTC
(
hide
)
Description:
Patch 2/2: (fax) add metalogd buffering information
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2003-09-26 02:25:09 UTC
Size:
1.53 KB
patch
obsolete
>--- ../cvs/htdocs/doc/en/faq.xml 2003-09-25 17:42:42.000000000 +0200 >+++ faq.xml 2003-09-26 11:20:22.000000000 +0200 >@@ -94,6 +94,7 @@ > <ul> > <li><uri link="#doc_chap6_sect1">ReiserFS and filesystem corruption issues -- how to fix'em, etc</uri></li> > <li><uri link="#doc_chap6_sect2">How to I view the timestamps in /var/log/syslog.d, etc. on a pre-1.0_rc5 Gentoo system? </uri></li> >+<li><uri link="#doc_chap6_sect3">Metalogd doesn't log in real time!</uri></li> > </ul> > </body> > </section> >@@ -749,6 +750,31 @@ > > </body> > </section> >+ <section> >+ <title>Metalogd doesn't log in real time!</title> >+ <body> >+ >+<p> >+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 <c>tail -f >+<path>/var/log/everything/current</path></c> 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 <path>/etc/conf.d/metalog</path>. >+</p> >+ >+<pre caption="Turning metalog buffering on/off"> >+<codenote>To turn the buffering off:</codenote> >+# <i>killall -USR1 metalog</i> >+<codenote>To turn the buffering back on:</codenote> >+# <i>killall -USR2 metalog</i> >+</pre> >+ >+ </body> >+ </section> > </chapter> > > <chapter>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 29600
:
18353
| 18354 |
18394