http://www.eclipse.org/jetty/documentation/9.1.4.v20140401/configuring-logging.html#configuring-jetty-logging
jetty不在标准输出console上打印日志,只输出
2015-01-20 19:00:04.022:INFO::Redirecting stderr/stdout to /home/x/apps/epay/echat-gops/logs/2015_01_20.stderrout.log
查了下配置了etc/jetty-logging.xml,截去了日志
Using etc/jetty-logging.xml
You can use etc/jetty-logging.xml to take all System.out and System.err output (from any source) and route it to a rolling log file. To do so, include etc/jetty-logging.xml on Jetty startup.
java -jar start.jar etc/jetty-logging.xml
所以就是看下jetty.sh哪里吧ect/jetty-logging.xml给加上了
发现在etc/jetty.conf
# ========================================================
# jetty.conf Configuration for jetty.sh script
# --------------------------------------------------------
# This file is used by the jetty.sh script to provide
# extra configuration arguments for the start.jar command
# created by that script.
#
# Each line in this file becomes an arguement to start.jar
# in addition to those found in the start.ini file
# =======================================================
#etc/jetty-logging.xml-----注释掉就会显示
etc/jetty-started.xml