Senji (senji) wrote,

  • Mood:


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

  • As inspired by ankaret

    [1. General] [Huguesdepayens] The Knights Templar is a friendly and megalomaniac banking and raiding guild looking for recruits of all levels,…

  • A night in the life…

    I don't often remember my dreams, but this one appears to have been sufficiently notably surreal to pierce even the veil of forgetery. I'd just…

  • Chilli Sweets

    Some months ago, at Relativity, I was (barely) introduced to a packet of some items which looked like chilli-shaped jelly sweets but tasted like…

  • Post a new comment


    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.