[izpack-devel] System.out

Piotr Skowronek piotr at skowro.net
Tue Jan 29 00:32:28 CET 2008


Julien Ponge wrote:
>> How about -DTRACE switch? It does the same as system.out.println. If
>> something was wrong with the installer
>> on client side, client can invoke the installer with this parameter to
>> let logs to be printed on console.
>> I guess this is much nicer than doing system.outs.
> 
> Yep, this flag is also here for doing some logging.

Maybe it would be nice to normalize the way
the debug/info logging is done.

We could use our logging class, that, in the future,
would allow easy migration to other logging libs (for
example log4java), just by alteration of this class.

IzPack already has Debug.java, maybe everyone should
use it to do some logging? Now, I can see lots of
System.outs, I think these should go thru our logging
class. This way we could control what should be displayed
on console.

Regards
Piotr


More information about the izpack-devel mailing list