Senji (senji) wrote,
Senji
senji

  • Mood:

Error

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?
Tags: geeky, hacks, programming, question, todo, ui, unix
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 9 comments