Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » [Mac] where is the ".log" file?
[Mac] where is the ".log" file? [message #653877] Fri, 11 February 2011 16:45 Go to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
Mac OS 10.6.3
Eclipse 3.6.1 (20100917-0705)

There I am running my little RCP from within Eclipse, and (oddly! :) )
there is a bug, so I want to see the Exn that I have of course carefully
logged ... ooops, no.log file that Spotlight can find, and nothing in
the "runtime-MyLittleRCP.product" directory.

So where do the logged events go?

thanks
Paul
Re: [Mac] where is the ".log" file? [message #653887 is a reply to message #653877] Fri, 11 February 2011 17:19 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Take a look in the MyLittRCP.app/.... which in reality is a directory!

Tom

Am 11.02.11 17:45, schrieb Paul E. Keyser:
> Mac OS 10.6.3
> Eclipse 3.6.1 (20100917-0705)
>
> There I am running my little RCP from within Eclipse, and (oddly! :) )
> there is a bug, so I want to see the Exn that I have of course carefully
> logged ... ooops, no.log file that Spotlight can find, and nothing in
> the "runtime-MyLittleRCP.product" directory.
>
> So where do the logged events go?
>
> thanks
> Paul
Re: [Mac] where is the ".log" file? [message #653888 is a reply to message #653887] Fri, 11 February 2011 17:37 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
Um, sorry, no such directory-or-file found ... not even one called "*.app"

"MyLittleRCP.app"?

What path are you expecting to find "MyLittleRCP.app" within?

thanks
Paul

On 2/11/11 12:19 PM, Tom Schindl wrote:
> Take a look in the MyLittRCP.app/.... which in reality is a directory!
>
> Tom
>
> Am 11.02.11 17:45, schrieb Paul E. Keyser:
>> Mac OS 10.6.3
>> Eclipse 3.6.1 (20100917-0705)
>>
>> There I am running my little RCP from within Eclipse, and (oddly! :) )
>> there is a bug, so I want to see the Exn that I have of course carefully
>> logged ... ooops, no.log file that Spotlight can find, and nothing in
>> the "runtime-MyLittleRCP.product" directory.
>>
>> So where do the logged events go?
>>
>> thanks
>> Paul
>
Re: [Mac] where is the ".log" file? [message #653933 is a reply to message #653888] Fri, 11 February 2011 22:32 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Oh you are running within Eclipse then you should simply pass the
-consoleLog when launching your app.

Tom

Am 11.02.11 18:37, schrieb Paul E. Keyser:
> Um, sorry, no such directory-or-file found ... not even one called "*.app"
>
> "MyLittleRCP.app"?
>
> What path are you expecting to find "MyLittleRCP.app" within?
>
> thanks
> Paul
>
> On 2/11/11 12:19 PM, Tom Schindl wrote:
>> Take a look in the MyLittRCP.app/.... which in reality is a directory!
>>
>> Tom
>>
>> Am 11.02.11 17:45, schrieb Paul E. Keyser:
>>> Mac OS 10.6.3
>>> Eclipse 3.6.1 (20100917-0705)
>>>
>>> There I am running my little RCP from within Eclipse, and (oddly! :) )
>>> there is a bug, so I want to see the Exn that I have of course carefully
>>> logged ... ooops, no.log file that Spotlight can find, and nothing in
>>> the "runtime-MyLittleRCP.product" directory.
>>>
>>> So where do the logged events go?
>>>
>>> thanks
>>> Paul
>>
>
Re: [Mac] where is the ".log" file? [message #653979 is a reply to message #653877] Sat, 12 February 2011 10:48 Go to previous messageGo to next message
Christian is currently offline ChristianFriend
Messages: 72
Registered: July 2009
Member
Am 11.02.2011 17:45, schrieb Paul E. Keyser:
> Mac OS 10.6.3
> Eclipse 3.6.1 (20100917-0705)
>
> There I am running my little RCP from within Eclipse, and (oddly! :) )
> there is a bug, so I want to see the Exn that I have of course carefully
> logged ... ooops, no.log file that Spotlight can find, and nothing in
> the "runtime-MyLittleRCP.product" directory.
>
> So where do the logged events go?
>
> thanks
> Paul

Into the workspace you defined for the app (If you don't know where this
is, check the run configuration not the *.product). Look in the
..metadata subdirectory.

christian
Re: [Mac] where is the ".log" file? [message #654185 is a reply to message #653933] Mon, 14 February 2011 14:27 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
Sorry, should have made that more clear (since an RCP can of course be
exported and runs standalone). However, even after adding that, I see so
log anywhere -- I am logging an Exception (I can step through the code
there), that gets printed to the console, but when I ask Spotlight to
find a String in that Exception (e.g., a long unique token in the
message, or a stack-frame label, org.eclipse.foo...line-number-etc.), it
is not found.

I then tried to step into the call to Log.log(IStatus), but even after
importing the relevant plug-in from the target platform, had no source
code there:
"The JAR file org.eclipse.core.runtime_3.5.0.v20090525.jar has no source
attachment. You can attach the source by clicking Attach Source below."

This is all so weird, I am beginning to think something has gone wrong
with my install of Eclipse ... I didn't see any special instructions on
the Eclipse downloads site for Mac, nor did I find any at
http://help.eclipse.org/helios/index.jsp -- but are there some
somewhere? (All I did was get the zip and expand it into the
"Applications" folder.)

thanks
Paul

On 2/11/11 5:32 PM, Tom Schindl wrote:
> Oh you are running within Eclipse then you should simply pass the
> -consoleLog when launching your app.
>
> Tom
>
Re: [Mac] where is the ".log" file? [message #654186 is a reply to message #653979] Mon, 14 February 2011 14:27 Go to previous message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
First place I looked -- nothing like that there ... see other
sub-thread, where I wonder if my install is bad ...

-Paul

On 2/12/11 5:48 AM, Christian wrote:
> Am 11.02.2011 17:45, schrieb Paul E. Keyser:
>> Mac OS 10.6.3
>> Eclipse 3.6.1 (20100917-0705)
>>
>> There I am running my little RCP from within Eclipse, and (oddly! :) )
>> there is a bug, so I want to see the Exn that I have of course carefully
>> logged ... ooops, no.log file that Spotlight can find, and nothing in
>> the "runtime-MyLittleRCP.product" directory.
>>
>> So where do the logged events go?
>>
>> thanks
>> Paul
>
> Into the workspace you defined for the app (If you don't know where this
> is, check the run configuration not the *.product). Look in the
> .metadata subdirectory.
>
> christian
Previous Topic:IS the Dialog Which Support
Next Topic:how to open an empty editor at startup
Goto Forum:
  


Current Time: Thu Apr 18 03:50:25 GMT 2024

Powered by FUDForum. Page generated in 0.02573 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top