[izpack-users] log file of Process panel

Mandeep Saini Mandeep.Saini at dante.org.uk
Thu Nov 23 18:55:46 CET 2006


Thanx Macke, I think I will follow your way if I will not get any 
solution instead of extending the class.

Mandeep
macke wrote:
> Hi!
> 
> I had the same problem. Writing in this specified logfiles works fine for
> executefile but not for executeclass. I think the executeclass feature is a
> later extension of the ProcessPanelWorker. Maybe logging is not supported
> for it. I don't know, how to extend this feature, so that it is possible to
> write in the logfile, or what I'm doing wrong in my class. So I worked
> around by letting my class write to a file (simple fileoutput). The location
> of my logfile I specify with the <arg>-tag in ProcessPanel.Spec.xml. Good
> enough for my needs. Hope this helps for your requirements.
> 
> Macke
> 
> p.s.: If anyone else knows what we are maybe doing wrong in our class or why
> this feature doesn't work for classes, please let us know.
> 
> 
> 
> 
> Mandeep wrote:
>> Hi all,
>>
>> I am trying to log the information related to the java classes which I run
>> through process panel. As suggested in the documentation I am including
>> the <logfiledir> tab inside the ProcessPanel.Spec.xml. 
>>
>> <processing>
>>   <logfiledir>$INSTALL_PATH</logfiledir>
>>   <job name="xyz">
>>   .......
>> </job>
>>
>> </processing>
>>
>> It creates the install_v1.0_20061123163.....log file in the specified
>> location but doesn't write anything into the file. Even though I am giving
>> System.out.println and System.err.println statements in my classes.
>>
>> Please tell me where I am wrong.
>>
>> Thanx in advance
>> Mandeep
>>
> 




More information about the izpack-users mailing list