[izpack-devel] System.out

Piotr Skowronek piotr at skowro.net
Mon Jan 28 22:34:57 CET 2008


Hi Jeff,
>> I noticed a recent commit was to remove a System.out and wanted to pose a
>> question.  How is console output and logging viewed by everyone?  I added
>> quite a few System.out statements to my code so I could run the installer
>> via the command line and get the relevant console output to trace what was
>> going on.  I left many of the statements in just because I foresee having
>> customers calling about issues which could be troubleshot much easier by
>> having them run their install from the command line and sending in the
>> console output.  Without a fully integrated logging mechanism, this is
>>     
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.

Regards
Piotr



More information about the izpack-devel mailing list