"Kurt Grafius" <[EMAIL PROTECTED]> writes:

> Not being the original author of this particular piece of code and this
> being my first Turbine code patch I thought I would tread lightly which is
> why I changed the system.out.println call to use the logging system instead.
> This at least gives the developer an opportunity to control where the
> message goes. Honestly, I didn't give the actual message being output much
> thought. I'll revisit the code and either:
> 
> a) Supply a little information with the Log.debug(..) call as you suggested.
> 
> OR
> 
> b) Remove the Log.debug(..) call entirely. ( my choice as I originally
> encountered this message while processing a csv file with 25k values which
> each produced a msg)

OR

c) Gate that bit of debug with a conditional compilation flag.

    private static final DEBUG = false;

...

        if (DEBUG)
        {
            Log.debug(...);
        }


Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to