On Fri, Feb 4, 2011 at 00:11, Jane Ren <[email protected]> wrote:

> Does Taverna have a special console where I can print messages to?
>
> I know I can print messages to the taverna log file and I guess I could start 
> Taverna from the command line and print messages to the console where  I ran 
> the command from.
>
> Just wondering if there is a special console for thist.   I saw a feature 
> request in the mailing list asking for such a console.  Was this feature ever 
> added?


If you use System.out.println()  (or better - use org.log4j.Logger)
your messages will end up in the log file, and if run from the command
line (Windows: taverna-debug.bat), also printed on the console.

We don't have a log viewer as such, but you can see the folder of logs
by clicking Advanced -> View log folder.


The request for a log/debug console at
http://www.mygrid.org.uk/dev/issues/browse/T2-1276 is similar - but
when we asked users about this they indicated that they would like one
log per workflow run, and more on the level of 'Started X' rather than
internal Taverna debugging. They would also want filtering and
searching rather than just a flat file listing.

Most likely the logs from your activity would also be more interesting
for the user running a workflow in the same way as 'Connected to
service Y' rather than going with Taverna's internal "Did something
magical" - but for now I would simply use log4j and inspect the
taverna.log. WARN and ERROR messages should also appear on the console
- modify conf/log4j.properties to include/exclude.


We can probably do some clever tricks (..) to capture logs per
workflow run by doing something with thread groups.. any volunteers?
:)

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

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to