| <?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"> |
| |
| <Configure id="logging" class="org.eclipse.jetty.util.log.Log"> |
| <New id="ServerLog" class="java.io.PrintStream"> |
| <Arg> |
| <New class="org.eclipse.jetty.util.RolloverFileOutputStream"> |
| <Arg><Property name="jetty.console-capture.dir" deprecated="jetty.logging.dir" default="./logs"/>/yyyy_mm_dd.jetty.log</Arg> |
| <Arg type="boolean"><Property name="jetty.console-capture.append" deprecated="jetty.logging.append" default="false"/></Arg> |
| <Arg type="int"><Property name="jetty.console-capture.retainDays" deprecated="jetty.logging.retainDays" default="90"/></Arg> |
| <Arg> |
| <Call class="java.util.TimeZone" name="getTimeZone"> |
| <Arg><Property name="jetty.console-capture.timezone" deprecated="jetty.logging.timezone" default="GMT"/></Arg> |
| </Call> |
| </Arg> |
| <Get id="ServerLogName" name="datedFilename"/> |
| </New> |
| </Arg> |
| </New> |
| |
| <Get name="rootLogger"> |
| <Call name="info"><Arg>Console stderr/stdout captured to <Ref refid="ServerLogName"/></Arg></Call> |
| </Get> |
| <Call class="java.lang.System" name="setErr"><Arg><Ref refid="ServerLog"/></Arg></Call> |
| <Call class="java.lang.System" name="setOut"><Arg><Ref refid="ServerLog"/></Arg></Call> |
| </Configure> |