GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.voltdb.com — 7.4. Changing the Timezone of Log Messages Documentation7.4. Changing the Timezone of Log MessagesBy default all VoltDB logging is reported in GMT (Greenwich Mean Time). If you want the logging to be reported using a different timezone, you can use extensions to the Log4J service to achieve this. To change the timezone of log messages:
You enable the Log4J extras by specifying <appender name="file" class="org.apache.log4j.DailyRollingFileAppender">
<param name="file" value="log/volt.log"/>
<param name="DatePattern" value="'.'yyyy-MM-dd" />
<layout class="org.apache.log4j.EnhancedPatternLayout">
<param name="ConversionPattern" value="%d{ISO8601}{GMT-4} %-5p [%t] %c: %m%n"/>
</layout>
</appender>You can use any valid ISO-8601 timezone specification, including named timezones, such as EST. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |