Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » No Jetty log output
No Jetty log output [message #139022] Thu, 02 July 2009 13:53 Go to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

Hi,


i recently noticed that i don't get any (embedded) jetty log output when launching my app inside eclipse.
i know that there once was log output and i did not turn it off explicitely.

the jetty documentation states that jetty uses slf4j, it is present in the classpath, otherwise it logs to stderr (default behaviour).
i can ensure that there is no org.slf4j package in the classpath and stderr output in the console works. i also tried passing -DDEBUG or
-DVERBOSE as a parameter, without success.

do you get log output?!


greetings,
ben
Re: No Jetty log output [message #139118 is a reply to message #139022] Thu, 02 July 2009 22:13 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Ben,

the org.eclipse.equinox.http.jetty bundle is responsible for starting
the jetty engine and sets several properties - one of these is the log
level.

You need to specify
"-Dorg.eclipse.equinox.http.jetty.log.stderr.threshold=info" as VM
argument to get the logs back.

Small excerpt from the code:
Jetty will use a basic stderr logger if no other logging mechanism is
provided. This setting can be used to over-ride the stderr logger
threshold(and only this default logger)
Valid values are in increasing threshold: "debug", "info", "warn",
"error", and "off" (default threshold is "warn").

Hope that helps
Ben

Benjamin Wolff wrote:
> Hi,
>
>
> i recently noticed that i don't get any (embedded) jetty log output when
> launching my app inside eclipse.
> i know that there once was log output and i did not turn it off
> explicitely.
>
> the jetty documentation states that jetty uses slf4j, it is present in
> the classpath, otherwise it logs to stderr (default behaviour).
> i can ensure that there is no org.slf4j package in the classpath and
> stderr output in the console works. i also tried passing -DDEBUG or
> -DVERBOSE as a parameter, without success.
>
> do you get log output?!
>
>
> greetings,
> ben


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: No Jetty log output [message #139202 is a reply to message #139118] Fri, 03 July 2009 12:04 Go to previous message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

Hi,

that helps indeed, thanks a lot!

greetings,
ben


Benjamin Muskalla schrieb:
> Hi Ben,
>
> the org.eclipse.equinox.http.jetty bundle is responsible for starting
> the jetty engine and sets several properties - one of these is the log
> level.
>
> You need to specify
> "-Dorg.eclipse.equinox.http.jetty.log.stderr.threshold=info" as VM
> argument to get the logs back.
>
> Small excerpt from the code:
> Jetty will use a basic stderr logger if no other logging mechanism is
> provided. This setting can be used to over-ride the stderr logger
> threshold(and only this default logger)
> Valid values are in increasing threshold: "debug", "info", "warn",
> "error", and "off" (default threshold is "warn").
>
> Hope that helps
> Ben
>
> Benjamin Wolff wrote:
>> Hi,
>>
>>
>> i recently noticed that i don't get any (embedded) jetty log output
>> when launching my app inside eclipse.
>> i know that there once was log output and i did not turn it off
>> explicitely.
>>
>> the jetty documentation states that jetty uses slf4j, it is present in
>> the classpath, otherwise it logs to stderr (default behaviour).
>> i can ensure that there is no org.slf4j package in the classpath and
>> stderr output in the console works. i also tried passing -DDEBUG or
>> -DVERBOSE as a parameter, without success.
>>
>> do you get log output?!
>>
>>
>> greetings,
>> ben
>
>
Previous Topic:Re: Problem with RWTLifeCycle / disposed context and Jaas Example implemetation
Next Topic:Problems at RAP installation in Eclipse IDE 3.5
Goto Forum:
  


Current Time: Thu Apr 25 17:11:52 GMT 2024

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

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

Back to the top