You need to have a file called log4j.properties available in a
subfolder 'conf' on your classpath. Also place the file directly on
the classpath so that log4j itself will find it.


The reason for this is that in 1.7 we had something called
Log4jConfiguration that reconfigured log4j right after start up so
that it could place the log file in the $HOME/.taverna-1.7.0/log/
directory - it had to do it at runtime to be able to determine what
folder is  $HOME/.taverna-1.7.x  (This is version and OS specficic).

You will see that the log4j.properties bundled with Taverna 1.7
contains some system properties that are not normally set - these are
calculated by this Log4jConfiguration (and thus was only picked up
from the conf/ folder, and not automatically by log4j) - however if
you have your own 'vanilla' log4j properties this should not be a
problem.


Sorry if that was a bit messy.. let me know if you need more help!


On Thu, May 14, 2009 at 07:29, Jerzy Orlowski <[email protected]> wrote:
> Hi
>
> Normally I would ignore this error in T1.7, it afects the logging of my
> application. How should I configure the system in eclipse to get rid of
> this error and be able to control the logger level?
>
> Jerzy Orlowski
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/taverna-hackers
> Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
> FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
>



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

Reply via email to