cancel
Showing results for 
Search instead for 
Did you mean: 

Logging and Tracing in Studio

Former Member
0 Kudos

Is there any way to display logging output of deployed

applications (Sneak Preview II) in the Studio environment ?

A short comment on the tutorial for logging and tracing:

<i>static final Location loc = Location.getLocation(this.getClass())</i>

This will not compile because the this reference <b>is not available</b> in a static context ! One should use

<i>Foo.class</i>

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

For displaying the trace output in the Studio environment, one can use Eclipse Tail which is an Eclipse Plug-in hosted on Sourceforge.

http://eclipsetail.sourceforge.net

It basically works like the unix tail command and can be used to display any log output written to a file.

Regards,

Andreas

Former Member
0 Kudos

The question was rather, if it is possible to display

the trace output <b>within</b> studio, e.g. in a Console View.

Another point is a problem with the log configuration within an EAR. It seems to me, that after deploying the app, the reference between a Location and a Destiniation gets lost. It works for anonymous ConsoleLog destionations, but not for named destinations.

I managed to configure everything correctly and see the output for a Category with named destinations. Is there a known issue ?

Andreas

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Andreas,

the poitn is that currently this is not available. Also your issue could be an error, as this is still in beta and the monitoring and logging stuff is obe of the youngest parts in the software.

Regards,

Benny

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

You need to configure login for your application by making a log-configuration.xml file by rightclicking on the EAR project.

For the rest, please check manuals.