配置jetty请求日志

时间:2018-03-30 19:21:04

标签: jetty

我使用solr-7.2.1版本,它有嵌入式jetty服务器,verison-9。     我曾尝试启用requestlog模块来配置请求日志但不起作用。     我已经安装了http,https模块。无法安装其余模块,如webapp,deploy,requestlog。

Could someone suggest a fix?

Output of these modules:
Steps:
-bash-4.1$ sudo java -jar start.jar --add-to-start=http
INFO: http            initialised in ${jetty.base}/start.ini
INFO: Base directory was modified

-bash-4.1$ sudo java -jar start.jar --add-to-start=https
INFO: https           initialised in ${jetty.base}/start.ini
INFO: Base directory was modified

-bash-4.1$
-bash-4.1$
-bash-4.1$
-bash-4.1$ sudo java -jar start.jar --add-to-start=webapp
org.eclipse.jetty.start.graph.GraphException: Missing referenced dependency: webapp
  at org.eclipse.jetty.start.graph.Graph.selectNodes(Graph.java:470)
  at org.eclipse.jetty.start.BaseBuilder.build(BaseBuilder.java:152)
  at org.eclipse.jetty.start.Main.start(Main.java:407)
  at org.eclipse.jetty.start.Main.main(Main.java:75)
 Usage: java -jar start.jar [options] [properties] [configs]
   java -jar start.jar --help  # for more information

-bash-4.1$
-bash-4.1$
-bash-4.1$ sudo java -jar start.jar --add-to-start=deploy
 org.eclipse.jetty.start.graph.GraphException: Missing referenced dependency: deploy
 at org.eclipse.jetty.start.graph.Graph.selectNodes(Graph.java:470)
 at org.eclipse.jetty.start.BaseBuilder.build(BaseBuilder.java:152)
 at org.eclipse.jetty.start.Main.start(Main.java:407)
 at org.eclipse.jetty.start.Main.main(Main.java:75)
Usage: java -jar start.jar [options] [properties] [configs]
   java -jar start.jar --help  # for more information

-bash-4.1$
-bash-4.1$
-bash-4.1$ sudo java -jar start.jar --add-to-start=requestlog
org.eclipse.jetty.start.graph.GraphException: Missing referenced dependency: requestlog
 at org.eclipse.jetty.start.graph.Graph.selectNodes(Graph.java:470)   
 at org.eclipse.jetty.start.BaseBuilder.build(BaseBuilder.java:152)
 at org.eclipse.jetty.start.Main.start(Main.java:407)
 at org.eclipse.jetty.start.Main.main(Main.java:75)
Usage: java -jar start.jar [options] [properties] [configs]
   java -jar start.jar --help  # for more information

-bash-4.1$
-bash-4.1$

0 个答案:

没有答案