That is much better -
https://github.com/paul-hammant/ngWebDriver/commit/dc04fb1e556c046c9b177efd75e0a30a2b1b8dcf.
The logging is reduced to ...

2015-11-26 21:50:14.365:INFO::main: Logging initialized @1568ms


... now thanks, Greg :)

On Thu, Nov 26, 2015 at 8:56 PM, Greg Wilkins <[email protected]> wrote:

>
> Paul,
>
> I think to do this programatically you need to do:
>
>         ((StdErrLog)Log.getRootLogger()).setLevel(StdErrLog.LEVEL_WARN);
>
> A bit sucky about the cast
>
>
>
>
> On 27 November 2015 at 11:52, Paul Hammant <[email protected]> wrote:
>
>> Hi Steve,
>>
>> Googling for 'Configure the "org.eclipse.jetty" Logger to only log at
>> WARN' leads me to
>> http://www.eclipse.org/jetty/documentation/current/default-logging-with-stderrlog.html
>> - but I can't see a line-of-code to effect the thing you're talking about.
>>
>> Can you show me the line of code?
>>
>> - Paul
>>
>>
>> On Thu, Nov 26, 2015 at 7:15 PM, Steven Schlansker <
>> [email protected]> wrote:
>>
>>> Configure the "org.eclipse.jetty" Logger to only log at WARN or above
>>> (you can tweak this further as you like)
>>>
>>> On Nov 26, 2015, at 3:50 PM, Paul Hammant <[email protected]> wrote:
>>>
>>> Hi Folks,
>>>
>>> I'm seeing this is my log:
>>>
>>> 2015-11-26 18:44:16.235:INFO::main: Logging initialized @2331ms
>>> 2015-11-26 18:44:16.541:INFO:oejs.Server:main: jetty-9.3.6.v20151106
>>> 2015-11-26 18:44:16.585:INFO:oejsh.ContextHandler:main: Started
>>> o.e.j.s.h.MovedContextHandler@6ddf90b0{/lib/angular,null,AVAILABLE}
>>> 2015-11-26 18:44:16.635:INFO:oejs.ServerConnector:main: Started
>>> ServerConnector@4e90f6ce{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
>>> 2015-11-26 18:44:16.636:INFO:oejs.Server:main: Started @2737ms
>>> 2015-11-26 18:44:26.961:INFO:oejs.ServerConnector:main: Stopped
>>> ServerConnector@4e90f6ce{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
>>> 2015-11-26 18:44:26.962:INFO:oejsh.ContextHandler:main: Stopped
>>> o.e.j.s.h.MovedContextHandler@6ddf90b0{/lib/angular,null,UNAVAILABLE}
>>>
>>>
>>> I'd rather suppress it (I'm just using it in Unit tests -
>>> https://github.com/paul-hammant/ngWebDriver/blob/master/src/test/java/com/paulhammant/ngwebdriver/AngularAndWebDriverTest.java#L49
>>> )
>>>
>>> I can't see jettyServer.setLog(..) where I'd like to pass in a *handy*
>>> new NoopLogger()
>>>
>>> Advice?
>>>
>>> - Paul
>>>
>>> _______________________________________________
>>> jetty-users mailing list
>>> [email protected]
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>
>>>
>>> _______________________________________________
>>> jetty-users mailing list
>>> [email protected]
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>
>>
>>
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>
>
>
> --
> Greg Wilkins <[email protected]> CTO http://webtide.com
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to