Messages in this thread |  | | Date | Mon, 19 Aug 2002 10:27:59 -0700 | From | "H. Peter Anvin" <> | Subject | Re: klibc and logging |
| |
Russell King wrote: > On Mon, Aug 19, 2002 at 09:58:02AM -0700, H. Peter Anvin wrote: > >>Either we can add a "syslog" binary, or you can: >> >>echo '<3>The dohickey is fscked' > /dev/kmsg > > Ok, that's fine for the echo-from-scripts problem. Now what if I bring > in something like stderr of gzip? I suppose we need to modify all > programs like gzip, etc to use syslog (maybe making perror() log to > syslog)? >
We need to think carefully about it. perror() and the likes are meant to be taken in the context of having just executed a command, whereas a syslog message needs to make sense on its own. That's part of why I think making it stderr default is a bad idea.
-hpa
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |