Hello,
I fired up
supersearch and looked for some ideas about this. Mostly I found this about cgi. The conclusion here is not to show the user to much. Ok here.
But I inherited a appliction that follows a flow of actions that can go different directions. Like sending mails and updating the database. What happens *o dear* sometimes a mail get send but the db doesn't get updated. Yes there are bugs in the system :)
The corrupt data gets detected and then I have to follow the complete flow manually to see how the data should be corrected.
Why does do I have to follow the complete flow? Because there's no error detecting and/or logging of the steps that went succesfull so I can backtrace where the last succesfull step was!!!
I was thinking about writing a module for doing this. Writing like in apache a acces.log and error.log. So I can follow everything.
I wanted to hear some opinions about it? Are there maybe any modules like this?
What do I want in this module?
- When a database update/insert/delete went succesfull
- When opening/closing of file went ok
- Different or dies that need to be catched
--
My opinions may have changed,
but not the fact that I am right
--
My opinions may have changed,
but not the fact that I am right
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.