/[gentoo]/xml/htdocs/doc/en/faq.xml
Gentoo

Diff of /xml/htdocs/doc/en/faq.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.40 Revision 1.41
11<author title="Editor"><mail link="carl@gentoo.org">Carl Anderson</mail></author> 11<author title="Editor"><mail link="carl@gentoo.org">Carl Anderson</mail></author>
12<author title="Editor"><mail link="peesh@gentoo.org">Jorge Paulo</mail></author> 12<author title="Editor"><mail link="peesh@gentoo.org">Jorge Paulo</mail></author>
13<author title="Editor"><mail link="swift@gentoo.org">Sven Vermeulen</mail></author> 13<author title="Editor"><mail link="swift@gentoo.org">Sven Vermeulen</mail></author>
14<abstract>This FAQ is a collection of questions and answers collected from the gentoo-dev mailing list and from IRC -- if you have any questions (or answers!) to add, please contact either an author or a member of the documentation team.</abstract> 14<abstract>This FAQ is a collection of questions and answers collected from the gentoo-dev mailing list and from IRC -- if you have any questions (or answers!) to add, please contact either an author or a member of the documentation team.</abstract>
15 15
16<version>1.1.6</version> 16<version>1.1.7</version>
17<date>September 23, 2003</date> 17<date>September 27, 2003</date>
18 18
19<chapter> 19<chapter>
20<title>Featured Questions</title> 20<title>Featured Questions</title>
21<section> 21<section>
22<title>Getting Started</title> 22<title>Getting Started</title>
92<title>Maintenance</title> 92<title>Maintenance</title>
93<body> 93<body>
94<ul> 94<ul>
95<li><uri link="#doc_chap6_sect1">ReiserFS and filesystem corruption issues -- how to fix'em, etc</uri></li> 95<li><uri link="#doc_chap6_sect1">ReiserFS and filesystem corruption issues -- how to fix'em, etc</uri></li>
96<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> 96<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>
97<li><uri link="#doc_chap6_sect3">Metalogd doesn't log in real time!</uri></li>
97</ul> 98</ul>
98</body> 99</body>
99</section> 100</section>
100<section> 101<section>
101<title>Development</title> 102<title>Development</title>
747# <i>tail -f /var/log/syslog.d/current | tai64nlocal</i> 748# <i>tail -f /var/log/syslog.d/current | tai64nlocal</i>
748</pre> 749</pre>
749 750
750</body> 751</body>
751 </section> 752 </section>
753 <section>
754 <title>Metalogd doesn't log in real time!</title>
755 <body>
756
757<p>
758Metalog flushes output to the disk in blocks, so messages aren't immediately
759recorded into the system logs. If you are trying to debug a daemon, this
760performance-enhancing behavior is less than helpful. When your Gentoo Linux
761system is up and running, you can send metalog a USR1 signal to temporarily
762turn off this message buffering (meaning that <c>tail -f
763<path>/var/log/everything/current</path></c> will now work in real time, as
764expected) and a USR2 signal to turn buffering back on again. If you want to
765disable buffering permanently, you can change METALOG_OPTS="-B" to
766METALOG_OPTS="-B -s" in <path>/etc/conf.d/metalog</path>.
767</p>
768
769<pre caption="Turning metalog buffering on/off">
770<codenote>To turn the buffering off:</codenote>
771# <i>killall -USR1 metalog</i>
772<codenote>To turn the buffering back on:</codenote>
773# <i>killall -USR2 metalog</i>
774</pre>
775
776 </body>
777 </section>
752</chapter> 778</chapter>
753 779
754<chapter> 780<chapter>
755 <title>Development</title> 781 <title>Development</title>
756 <section> 782 <section>

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20