Fixed properties in *.mod and *.xml for module console-capture.

This commit is contained in:
Simone Bordet 2016-10-19 11:44:13 +02:00
parent 0e56cd4eb2
commit ae240b9c17
3 changed files with 12 additions and 13 deletions

View File

@ -3,6 +3,6 @@ gcloud-session-idmgr : no longer required.
gcloud-sessions : replaced by 'session-store-gcloud'
infinispan : replaced by either 'session-store-infinispan-embedded' or 'session-store-infinispan-remote'
jdbc-sessions : replaced by 'session-store-jdbc'
logging : renamed to 'stderrout-capture'
logging : renamed to 'console-capture'
monitor : no longer supported
nosql : replaced by 'session-store-mongo'
nosql : replaced by 'session-store-mongo'

View File

@ -17,13 +17,13 @@ resources/
[ini-template]
## Logging directory (relative to $jetty.base)
# jetty.logging.dir=logs
# jetty.console-capture.dir=logs
## Whether to append to existing file
# jetty.logging.append=false
# jetty.console-capture.append=false
## How many days to retain old log files
# jetty.logging.retainDays=90
# jetty.console-capture.retainDays=90
## Timezone of the log timestamps
# jetty.logging.timezone=GMT
# jetty.console-capture.timezone=GMT

View File

@ -5,11 +5,13 @@
<New id="ServerLog" class="java.io.PrintStream">
<Arg>
<New class="org.eclipse.jetty.util.RolloverFileOutputStream">
<Arg><Property name="jetty.logging.dir" deprecated="jetty.logs" default="./logs"/>/yyyy_mm_dd.jetty.log</Arg>
<Arg type="boolean"><Property name="jetty.logging.append" default="false"/></Arg>
<Arg type="int"><Property name="jetty.logging.retainDays" default="90"/></Arg>
<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.logging.timezone" default="GMT"/></Arg></Call>
<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>
@ -22,6 +24,3 @@
<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>