|
Lines 2242-2252
Link Here
|
| 2242 |
Your new custom kernel (and modules) are now installed. Now you need to choose |
2242 |
Your new custom kernel (and modules) are now installed. Now you need to choose |
| 2243 |
a system logger that you would like to install. We offer sysklogd, which is |
2243 |
a system logger that you would like to install. We offer sysklogd, which is |
| 2244 |
the traditional set of system logging daemons. We also have msyslog and |
2244 |
the traditional set of system logging daemons. We also have msyslog and |
| 2245 |
syslog-ng as well as metalog. Power users seem to gravitate away from |
2245 |
syslog-ng as well as metalog. If in doubt, you may want to try syslog-ng, |
| 2246 |
sysklogd (not very good performance) and towards the newer alternatives. |
2246 |
since it is very flexible and feature-rich. To merge your logger of choice, |
| 2247 |
If in doubt, you may want to try metalog, since it seems to be quite popular. |
2247 |
type <e>one</e> of the next four command sets: |
| 2248 |
To merge your logger of choice, type <e>one</e> of the next four command |
|
|
| 2249 |
sets: |
| 2250 |
</p> |
2248 |
</p> |
| 2251 |
|
2249 |
|
| 2252 |
<pre caption="Emerging System Logger of Choice"> |
2250 |
<pre caption="Emerging System Logger of Choice"> |
|
Lines 2263-2286
Link Here
|
| 2263 |
# <i>rc-update add msyslog default</i> |
2261 |
# <i>rc-update add msyslog default</i> |
| 2264 |
</pre> |
2262 |
</pre> |
| 2265 |
|
2263 |
|
| 2266 |
<impo> |
|
|
| 2267 |
Metalog flushes output to the disk in blocks, so messages aren't immediately |
| 2268 |
recorded into the system logs. If you are trying to debug a daemon, this |
| 2269 |
performance-enhancing behavior is less than helpful. When your Gentoo Linux |
| 2270 |
system is up and running, you can send metalog a USR1 signal to temporarily |
| 2271 |
turn off this message buffering (meaning that <c>tail -f |
| 2272 |
<path>/var/log/everything/current</path></c> will now work in real time, as |
| 2273 |
expected) and a USR2 signal to turn buffering back on again. If you want to |
| 2274 |
disable buffering permanently, you can change METALOG_OPTS="-B" to |
| 2275 |
METALOG_OPTS="-B -s" in <path>/etc/conf.d/metalog</path>. |
| 2276 |
<pre caption="Turning metalog buffering on/off"> |
| 2277 |
<codenote>To turn the buffering off:</codenote> |
| 2278 |
# <i>killall -USR1 metalog</i> |
| 2279 |
<codenote>To turn the buffering back on:</codenote> |
| 2280 |
# <i>killall -USR2 metalog</i> |
| 2281 |
</pre> |
| 2282 |
</impo> |
| 2283 |
|
| 2284 |
<p> |
2264 |
<p> |
| 2285 |
Now, you may optionally choose a cron package that you would like to use. |
2265 |
Now, you may optionally choose a cron package that you would like to use. |
| 2286 |
Right now, we offer dcron, fcron and vcron. If you do not know which one to |
2266 |
Right now, we offer dcron, fcron and vcron. If you do not know which one to |