|
Lines 94-99
Link Here
|
| 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> |
|
Lines 749-754
Link Here
|
| 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> |
| 758 |
Metalog flushes output to the disk in blocks, so messages aren't immediately |
| 759 |
recorded into the system logs. If you are trying to debug a daemon, this |
| 760 |
performance-enhancing behavior is less than helpful. When your Gentoo Linux |
| 761 |
system is up and running, you can send metalog a USR1 signal to temporarily |
| 762 |
turn off this message buffering (meaning that <c>tail -f |
| 763 |
<path>/var/log/everything/current</path></c> will now work in real time, as |
| 764 |
expected) and a USR2 signal to turn buffering back on again. If you want to |
| 765 |
disable buffering permanently, you can change METALOG_OPTS="-B" to |
| 766 |
METALOG_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> |