One I don't see mentioned is "logging to stop arguments!"

From a corporate point of view logging can be very helpful. A few scenarios:

  1. Customer calls to complain about delivery of something ordered on our web-store (true story). With the appropriate logs we can tell him exactly what happened at each step of the process and when. For one client of mine this saved a rather large order (10's of thousands of dollars). An employee of the purchaser had not ordered goods when he was supposed to. His boss called to complain and cancel. When he was given the facts he did not cancel, thanked everyone for their assistance and has been a regular repeat client ever since.
  2. "I never got that email!" roars the unsatisfied client. Just go parse your mail logs!
  3. Employee 'A' gets reamed out by supervisor for not following established procedure. Logs eventually tell us that while 'A' had read the latest revision to the online procedure manual his supervisor hadn't.
And I could go on. Logging in fact has far more uses than just those tied up with IT. For debugging and testing they are essential. But developers should think more about how logs can be used to make other aspects - particularly audit trail and change tracking much easier.

jdtoronto


In reply to Re: When to use logging and why? by jdtoronto
in thread When to use logging and why? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.