[izpack-users] log file of Process panel

macke maier at isys.uni-klu.ac.at
Thu Nov 23 18:45:08 CET 2006


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
> 

-- 
View this message in context: http://www.nabble.com/log-file-of-Process-panel-tf2693442.html#a7511862
Sent from the izpack users mailing list archive at Nabble.com.




More information about the izpack-users mailing list