Author: grobmeier
Date: Wed May 27 05:47:16 2009
New Revision: 779008

URL: http://svn.apache.org/viewvc?rev=779008&view=rev
Log:
noted some words about default timezone settings

Modified:
    incubator/log4php/trunk/src/site/xdoc/qsg.xml

Modified: incubator/log4php/trunk/src/site/xdoc/qsg.xml
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/src/site/xdoc/qsg.xml?rev=779008&r1=779007&r2=779008&view=diff
==============================================================================
--- incubator/log4php/trunk/src/site/xdoc/qsg.xml (original)
+++ incubator/log4php/trunk/src/site/xdoc/qsg.xml Wed May 27 05:47:16 2009
@@ -82,6 +82,10 @@
                         Include the '<a 
href="apidocs/log4php/LoggerManager.html"><code>LoggerManager.php</code></a>' 
                         class file in your php scripts.
                     </li>
+                    <li>
+                       Since log4php makes use of date functions, it is 
recommended that you have set:
+                       date_default_timezone_set(); somewhere within your 
application.
+                    </li>
                 </ol>
                 <p>
                     Once the '<a 
href="apidocs/log4php/LoggerManager.html">LoggerManager</a>' is included,
@@ -95,6 +99,10 @@
                 <p>Here is how to use <code>log4php</code> in user PHP 
code:</p>
                 <pre>
 &lt;?php
+
+// Setting default timezone
+date_default_timezone_set('Europe/London');
+
 /*
     Set LOG4PHP_* constants here 
 */


Reply via email to