cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

output of system processes should not go to console #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Every time I leave 9front running for the night, a message about the daily FS 
dump gets spammed across whatever rio windows happen to be over that piece of 
the console.  This has at least two problems: it's ugly, and information gets 
lost if part of the message happens to be in a window whose process redraws it.

One way to fix these issues would be to (a) redirect the stdout and stderr of 
the system processes that start at boot to a log filesystem, (b) provide an 
easy way to show the log and follow new log messages, and (c) start a 
log-viewer rio window in the default profile (so new users know that the 
messages exist).

Original issue reported on code.google.com by rransom....@gmail.com on 10 Aug 2012 at 5:47

GoogleCodeExporter commented 9 years ago
you can already redirect the console output, just read /dev/kprint like:

cat /dev/kprint

or write to logfile:

cat /dev/kprint >>/sys/log/cons

nothing is lost also, theres the hisoty:

cat /dev/kmesg

Original comment by cinap_le...@felloff.net on 10 Aug 2012 at 8:20