"grotesque"... nice Halloween word... ;-)

You make a good point--can we say *large* trigger point perhaps? I am working with Perl code that took over/"inherited" (not original developer), so I am trying to make it more manageable. What I inherited is, shall we say "grotesque", oh there is that word again... lol I am trying to bring some order and manageability to the chaos and madness that is currently in the code. All with being basically a Perl newbie.

I currently have a test log file and some simple testing routines that I created. The code I inherited had 5 different test log files for no good reason, and a myriad of junk testing code that was sometimes active, sometimes commented out--I stripped that out and implemented my stuff that I can control much more easily. Yeah, I know that there are modules... While some of them look good, frankly some of them look like the developer had too much time on their hands. :-D

Anyway, if there is an error log file somewhere on the server I am FTPing into, I have not yet found it. Also, the die's and miscellaneous error output's are not consistent in approach at all. I will probably have to create something around that, also. I also need to implement a consistent "fail strategy" (error exit) that will log error messages complete with date/time, context info (routine & caller), and will do a graceful shut down of MySQL (commit outstanding transactions) and do some sort of graceful exit with appropriate user message.


In reply to Re^2: Limiting the size of log files... by SteveTheTechie
in thread Limiting the size of log files... by SteveTheTechie

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.