Error

Jun 29, 2005 10:37

I am consistently (but irregularly) irritated when I get errors or warnings to stderr that don't identify the process that they come from. I'd like some general sort of solution to this that I can implement and ignore.

My best thought so far is to use LD_PRELOAD to wrap fprintf such that outputs to stderr get [pid] prepended, but I suspect that this is insufficiently general; plus it is ick.

Any suggestions, anyone?

todo, unix, geeky, hacks, question, ui, programming

Previous post Next post
Up