Tao Wang created SPARK-6758:
-------------------------------

             Summary: Block jetty's log as we have already shaded it
                 Key: SPARK-6758
                 URL: https://issues.apache.org/jira/browse/SPARK-6758
             Project: Spark
          Issue Type: Improvement
          Components: Deploy
    Affects Versions: 1.3.0
            Reporter: Tao Wang


As we have already shaded the jetty, its log cannot be quiet down by what we 
set in log4j "log4j.logger.org.eclipse.jetty=WARN".

Log will shows like:
2015-04-08 17:54:22,990 | INFO  | [main] | jetty-x.y.z | 
org.spark-project.jetty.server.Server.doStart(Server.java:272)
2015-04-08 17:54:23,082 | INFO  | [main] | Enabled Protocols [SSLv2Hello, 
TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] | 
org.spark-project.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:300)
2015-04-08 17:54:23,100 | INFO  | [main] | Started 
[email protected]:23020 | 
org.spark-project.jetty.server.AbstractConnector.doStart(AbstractConnector.java:338)

and:

2015-04-08 18:09:29,167 | INFO  | [HistoryServerStopper] | stopped 
o.s.j.s.ServletContextHandler{/cas,null} | 
org.spark-project.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:843)
2015-04-08 18:09:29,167 | INFO  | [HistoryServerStopper] | stopped 
o.s.j.s.ServletContextHandler{/history,null} | 
org.spark-project.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:843)
2015-04-08 18:09:29,168 | INFO  | [HistoryServerStopper] | stopped 
o.s.j.s.ServletContextHandler{/static,null} | 
org.spark-project.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:843)
2015-04-08 18:09:29,168 | INFO  | [HistoryServerStopper] | stopped 
o.s.j.s.ServletContextHandler{/json,null} | 
org.spark-project.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:843)
2015-04-08 18:09:29,169 | INFO  | [HistoryServerStopper] | stopped 
o.s.j.s.ServletContextHandler{/,null} | 
org.spark-project.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:843)

I will file a PR to fix it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to